Fix called function case in a bunch of places
[lhc/web/wiklou.git] / includes / api / ApiOptions.php
index bb5a261..3a1b2db 100644 (file)
@@ -124,7 +124,7 @@ class ApiOptions extends ApiBase {
                                $user->setOption( $key, $value );
                                $changed = true;
                        } else {
-                               $this->addWarning( [ 'apiwarn-validationfailed', wfEscapeWikitext( $key ), $validation ] );
+                               $this->addWarning( [ 'apiwarn-validationfailed', wfEscapeWikiText( $key ), $validation ] );
                        }
                }