ApiUpload: Fix fatal in dieStatusWithCode()
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 22 Aug 2016 19:16:21 +0000 (21:16 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 22 Aug 2016 19:16:21 +0000 (21:16 +0200)
commit0afc3cf016da0284e011cd7f8d5489a57d615698
tree8db18eecefb50d571b86908a7929e8fe96c9f472
parent3a6181e478ea29eabac08af28fc2bc39507f6529
ApiUpload: Fix fatal in dieStatusWithCode()

If $extraData was null, but $moreExtraData was given, the following
fatal would occur:

  Fatal error: Unsupported operand types in
  /var/www/html/w/includes/api/ApiUpload.php on line 408

Follow-up to c9b5b3e988e3554c231860a2da587dff16b05e0c.

Change-Id: I613eed1f7429247fe46afa454d36f518f6a81ebe
includes/api/ApiUpload.php