Index: trunk/extensions/LiquidThreads/classes/NewMessagesController.php |
— | — | @@ -174,8 +174,9 @@ |
175 | 175 | if ( $oldPrefCompat ) { |
176 | 176 | $decodedOptions = self::decodeUserOptions( $row->user_options ); |
177 | 177 | |
178 | | - $wantsTalkNotification = ( ( !isset( $decodedOptions['lqtnotifytalk'] ) || is_null( $decodedOptions['lqtnotifytalk'] ) ) && |
179 | | - User::getDefaultOption( 'lqtnotifytalk' ) ) || $row->up_value; |
| 178 | + $wantsTalkNotification = |
| 179 | + ( !isset( $decodedOptions['lqtnotifytalk'] ) && User::getDefaultOption( 'lqtnotifytalk' ) ) |
| 180 | + || $row->up_value; |
180 | 181 | } else { |
181 | 182 | $wantsTalkNotification = |
182 | 183 | ( is_null( $row->up_value ) && User::getDefaultOption( 'lqtnotifytalk' ) ) |