(bug 20837) Don't give a PHP notice when getSubitem() calls loadSubitem() which cause...
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 6 Jan 2010 04:08:59 +0000 (04:08 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 6 Jan 2010 04:08:59 +0000 (04:08 +0000)
commit33ce9783f5e8d748ef9d30546f79e5dfff7ed518
tree701488ff7faae6950b5151805a233ca9960c0d6c
parentddd5acf9004b8094e5c6110fc940eb7bdc4c69ac
(bug 20837) Don't give a PHP notice when getSubitem() calls loadSubitem() which causes the whole item to be loaded. In this case there is no negative cache value stored so we need to use isset(). It was handled already for the case where the item was already loaded at function entry, but not for the case where the item is loaded halfway through loadSubitem().
includes/LocalisationCache.php