From: Alexandre Emsenhuber Date: Sat, 14 Jan 2012 14:18:56 +0000 (+0000) Subject: Fix for r107939: PHP Notice: Undefined variable: exportall in includes/specials... X-Git-Tag: 1.31.0-rc.0~25275 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=1de5c4d1a115fed087521280b51d45d3d206d47f;p=lhc%2Fweb%2Fwiklou.git Fix for r107939: PHP Notice: Undefined variable: exportall in includes/specials/SpecialExport.php on line 173 when the "export all" checkbox is not checked --- diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index ed04fc11ed..d061389ea3 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -55,6 +55,7 @@ class SpecialExport extends SpecialPage { $request->getIntOrNull( 'pagelink-depth' ) ); $nsindex = ''; + $exportall = false; if ( $request->getCheck( 'addcat' ) ) { $page = $request->getText( 'pages' );