Revision: 51561 Author: siebrand Date: 2009-06-07 10:34:02 +0000 (Sun, 07 Jun 2009)
Log Message: ----------- Follow-up to r51559 per CR: initialise $q to prevent PHP notice. Modified Paths: -------------- trunk/phase3/includes/FileDeleteForm.php Modified: trunk/phase3/includes/FileDeleteForm.php =================================================================== --- trunk/phase3/includes/FileDeleteForm.php 2009-06-06 23:01:08 UTC (rev 51560) +++ trunk/phase3/includes/FileDeleteForm.php 2009-06-07 10:34:02 UTC (rev 51561) @@ -293,9 +293,12 @@ * @return string */ private function getAction() { + $q = array(); $q['action'] = 'delete'; + if( $this->oldimage ) $q['oldimage'] = $this->oldimage; + return $this->title->getLocalUrl( $q ); } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs