Fix fatal error in rcprop=loginfo
authorCatrope <roan.kattouw@gmail.com>
Mon, 10 Sep 2012 20:15:59 +0000 (13:15 -0700)
committerCatrope <roan.kattouw@gmail.com>
Mon, 10 Sep 2012 23:44:43 +0000 (16:44 -0700)
commitd7a50ae34cd7d288125b6665ac32e708eb763541
treedb74e94b7aec0ada95205763bfeb1ab962c7b041
parent5f04f28e6a0eb9b8639fb7f0751235cd2d5bc1f5
Fix fatal error in rcprop=loginfo

There was a recentchanges row on enwiki whose rc_params looked like
array('4::tags'=>array('db-g11')), and the tag name wasn't set
recursively so the inner array didn't get a tag name.

This still generates invalid XML of course, because <4::tags> isn't a
valid tag, but at least it doesn't fatal any more. RAWR XML GRUMBLE

Change-Id: Ibb775df4bd010bdce5632914f789230d8626c9e7
includes/api/ApiQueryLogEvents.php