Fix PHP notice when logging the result of a DNS blacklist check.
authorSkizzerz <skizzerz@gmail.com>
Wed, 4 Jun 2014 02:40:03 +0000 (21:40 -0500)
committerReedy <reedy@wikimedia.org>
Wed, 23 Sep 2015 13:28:01 +0000 (13:28 +0000)
commit8e8826b7685fef51d11b7d510c5e20e76482d24b
tree32836f8d7e7fcb3fbc9a7195741932e226345b48
parenta09d063de3af3f19da3ee3be579a727c816a4284
Fix PHP notice when logging the result of a DNS blacklist check.

When the array syntax is used for the DNS blacklist, PHP throws a notice about array to string
conversion. This change ensures that the correct string name is used regardless of what type of
blacklist entry is used.

Change-Id: I2511a8320474a02d8f321d04f005bb9d18fb15b3
includes/User.php