From: Bryan Tong Minh Date: Sat, 27 Feb 2010 13:58:14 +0000 (+0000) Subject: Fix upload hook params X-Git-Tag: 1.31.0-rc.0~37591 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=d66a71a06f3c43bd5ca7e7872e7dbffc64ce8757;p=lhc%2Fweb%2Fwiklou.git Fix upload hook params --- diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index f6ba998e67..81adb6a84b 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -701,7 +701,7 @@ class UploadForm extends HTMLForm { + $this->getDescriptionSection() + $this->getOptionsSection(); - wfRunHooks( 'UploadFormInitDescriptor', array( $descriptor ) ); + wfRunHooks( 'UploadFormInitDescriptor', array( &$descriptor ) ); parent::__construct( $descriptor, 'upload' ); # Set some form properties