Prevent E_STRICT warning:
authorNick Jenkins <nickj@users.mediawiki.org>
Mon, 20 Aug 2007 07:42:32 +0000 (07:42 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Mon, 20 Aug 2007 07:42:32 +0000 (07:42 +0000)
commite88bfaf1aa6b41a078b7ace9e4c2e1f503b11523
treee89ac71389a32ec5e702f312ae919470f634aa9e
parent39495794ca8e5311c7ea557b365d895edf7b2e9d
Prevent E_STRICT warning:
"Trying to get property of non-object in includes/PageHistory.php on line 257"
Happens because $next === 'unknown', i.e. not an object, on one revision for me with the following fuzz command line test on a local test wiki:

curl --silent --include --globoff  -F 'offset'='&#x0003C;<u '  -F 'dir'='prev'  'http://localhost/wiki/index.php?title=Main_Page&action=history' | less
includes/PageHistory.php