Fix fail in ApiEditPage.php
authorSam Reed <reedy@users.mediawiki.org>
Sat, 13 Feb 2010 01:24:00 +0000 (01:24 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 13 Feb 2010 01:24:00 +0000 (01:24 +0000)
includes/api/ApiEditPage.php

index ae94c3f..1271610 100644 (file)
@@ -378,7 +378,7 @@ class ApiEditPage extends ApiBase {
                        array( 'editconflict' ),
                        array( 'emptynewsection' ),
                        array( 'unknownerror', 'retval' ),
-                       array( 'code' => 'nosuchsection', 'info' => '' ), "There is no section section.", ''
+                       array( 'code' => 'nosuchsection', 'info' => 'There is no section section.' ),
                        array( 'code' => 'invalidsection', 'info' => 'The section parameter must be set to an integer or \'new\'' ),
         ) );
        }