Follow-up to r51559 per CR: initialise $q to prevent PHP notice.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 7 Jun 2009 10:34:02 +0000 (10:34 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 7 Jun 2009 10:34:02 +0000 (10:34 +0000)
includes/FileDeleteForm.php

index 9a764d1..7480812 100644 (file)
@@ -293,9 +293,12 @@ class FileDeleteForm {
         * @return string
         */
        private function getAction() {
+               $q = array();
                $q['action'] = 'delete';
+
                if( $this->oldimage )
                        $q['oldimage'] = $this->oldimage;
+
                return $this->title->getLocalUrl( $q );
        }