SpecialMediaStatistics: Protect against invalid indexes
authorChad Horohoe <chadh@wikimedia.org>
Thu, 12 Feb 2015 19:31:47 +0000 (11:31 -0800)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 13 Feb 2015 16:58:26 +0000 (16:58 +0000)
commite2379561fab58f9eedd63d73ccc93fe1c0b772e6
treea4e7233aa7ec4f7ead7b8a0844dd8e0ca5042e7d
parent0bf614a615353e7324a2047ce8d275e86c9d05b0
SpecialMediaStatistics: Protect against invalid indexes

Sometimes the full string isn't represented, leading to invalid
index access on list()

Just default to 0 since it makes sense here

Change-Id: Icd06d2b22b1fcb57a8849ef6dc8659b424f27fdc
includes/specials/SpecialMediaStatistics.php