Index: branches/uploadwizard/phase3/includes/api/ApiUpload.php |
— | — | @@ -96,7 +96,7 @@ |
97 | 97 | try { |
98 | 98 | $result['sessionkey'] = $this->performStash(); |
99 | 99 | } catch ( MWException $e ) { |
100 | | - $warnings['stashfailed'] = $e->getMessage(); |
| 100 | + $result['warnings']['stashfailed'] = $e->getMessage(); |
101 | 101 | } |
102 | 102 | } elseif ( $this->mParams['stash'] ) { |
103 | 103 | // Some uploads can request they be stashed, so as not to publish them immediately. |