Fix check to see if element is there already.
authorjeroendedauw <jeroendedauw@gmail.com>
Sat, 8 Dec 2012 18:13:44 +0000 (19:13 +0100)
committerjeroendedauw <jeroendedauw@gmail.com>
Sat, 8 Dec 2012 18:13:46 +0000 (19:13 +0100)
commita0c53e606883f0ab1c02b92a5e0bca02d5640c94
treee281751ae6c29b231b4349228603aa884ec570f3
parent7c6762ee2cf027f02ecc13bcecc89caa7b63e64e
Fix check to see if element is there already.

PHP docs disagree with reality when it comes to return type of offsetGet, so switching to offsetExists.

Issue spotted by Brad Jorsch

Change-Id: I4ce1651d4ed681ab55cf297090ee963b64584bbf
includes/site/SiteArray.php