Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php |
— | — | @@ -145,8 +145,9 @@ |
146 | 146 | if ( $old_user === false || $old_user == null ) { |
147 | 147 | return false; |
148 | 148 | } |
149 | | - if ( $old_user->getOption('OnlineStatusBar_active') ) { |
150 | | - if ( $old_user->getOption('OnlineStatusBar_autoupdate') == true ) { |
| 149 | + |
| 150 | + if ( $old_user->getOption('OnlineStatusBar_active', false) ) { |
| 151 | + if ( $old_user->getOption('OnlineStatusBar_autoupdate', false) == true ) { |
151 | 152 | $update = SquidUpdate::newSimplePurge( $old_user->getTalkPage() ); |
152 | 153 | $update->doUpdate(); |
153 | 154 | $update = SquidUpdate::newSimplePurge( $old_user->getUserPage() ); |