1 to true in boolean parameter
authorPlatonides <platonides@users.mediawiki.org>
Wed, 9 Feb 2011 17:05:25 +0000 (17:05 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 9 Feb 2011 17:05:25 +0000 (17:05 +0000)
includes/specials/SpecialUploadStash.php

index 885c1bc..0c6d0d6 100644 (file)
@@ -293,7 +293,7 @@ class SpecialUploadStash extends UnlistedSpecialPage {
        public static function tryClearStashedUploads( $formData ) {
                if ( isset( $formData['Clear'] ) ) {
                        $stash = RepoGroup::singleton()->getLocalRepo()->getUploadStash();
-                       wfDebug( "stash has: " . print_r( $stash->listFiles(), 1 ) );
+                       wfDebug( "stash has: " . print_r( $stash->listFiles(), true ) );
                        if ( ! $stash->clear() ) {
                                return Status::newFatal( 'uploadstash-errclear' );
                        }