From 5adb6cb27656df5400cf2437bfd481f721f33ee1 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 7 Jun 2009 10:34:02 +0000 Subject: [PATCH] Follow-up to r51559 per CR: initialise $q to prevent PHP notice. --- includes/FileDeleteForm.php | 3 +++ 1 file changed, 3 insertions(+) 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 ); } -- 2.20.1