Note that jquery.json will be removed in 1.25
[lhc/web/wiklou.git] / includes / AjaxDispatcher.php
index bddbeb3..c9ca128 100644 (file)
@@ -111,7 +111,7 @@ class AjaxDispatcher {
                        wfHttpError(
                                400,
                                'Bad Request',
-                               "unknown function " . (string) $this->func_name
+                               "unknown function " . $this->func_name
                        );
                } elseif ( !User::isEveryoneAllowed( 'read' ) && !$wgUser->isAllowed( 'read' ) ) {
                        wfHttpError(