Index: trunk/phase3/includes/api/ApiUpload.php |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | $this->requireOnlyOneParameter( $this->mParams, |
114 | 114 | 'sessionkey', 'file', 'url', 'statuskey' ); |
115 | 115 | |
116 | | - if ( $this->mParams['statuskey'] ) { |
| 116 | + if ( isset( $this->mParams['statuskey'] ) ) { |
117 | 117 | // Status request for an async upload |
118 | 118 | $sessionData = UploadFromUrlJob::getSessionData( $this->mParams['statuskey'] ); |
119 | 119 | if ( !isset( $sessionData['result'] ) ) { |