From: Siebrand Mazeland Date: Sun, 7 Jun 2009 10:34:02 +0000 (+0000) Subject: Follow-up to r51559 per CR: initialise $q to prevent PHP notice. X-Git-Tag: 1.31.0-rc.0~41466 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=5adb6cb27656df5400cf2437bfd481f721f33ee1;p=lhc%2Fweb%2Fwiklou.git Follow-up to r51559 per CR: initialise $q to prevent PHP notice. --- diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php index 9a764d109c..7480812515 100644 --- a/includes/FileDeleteForm.php +++ b/includes/FileDeleteForm.php @@ -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 ); }