Index: trunk/extensions/OnlineStatusBar/OnlineStatusBarHooks.php |
— | — | @@ -212,7 +212,7 @@ |
213 | 213 | } |
214 | 214 | |
215 | 215 | // if user is online we need to remove parser cache so that page update when status change |
216 | | - if ( $result[0] != 'offline' ) { |
| 216 | + if ( $result !== false && $result[0] != 'offline' ) { |
217 | 217 | $parser->getOutput()->updateCacheExpiry($wgOnlineStatusBar_LogoutTime); |
218 | 218 | } |
219 | 219 | |