Page MenuHomePhabricator

Missing global declaration in SpecialUpload::curlCopy()
Closed, ResolvedPublic

Description

Author: rick

Description:
In includes/SpecialUpload.php, function curlCopy, when the user is not allowed to upload by URL, it
throws a PHP error because $wgOut is not declared as a global variable at the start of the function.

To fix, simply add $wgOut to the list of global variables at the start of the function.


Version: 1.8.x
Severity: trivial

Details

Reference
bz8494

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:33 PM
bzimport set Reference to bz8494.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

This was fixed in r17880.