Pass message arguments as array to ErrorPageError
[lhc/web/wiklou.git] / includes / specials / SpecialChangeContentModel.php
index 87c899f..75051fe 100644 (file)
@@ -101,7 +101,7 @@ class SpecialChangeContentModel extends FormSpecialPage {
                                throw new ErrorPageError(
                                        'changecontentmodel-emptymodels-title',
                                        'changecontentmodel-emptymodels-text',
-                                       $this->title->getPrefixedText()
+                                       [ $this->title->getPrefixedText() ]
                                );
                        }
                        $fields['pagetitle']['readonly'] = true;