@@ -310,7 +310,7 @@ |
||
| 310 | 310 | { |
| 311 | 311 | /** |
| 312 | 312 | * Constants for notification types. |
| 313 | - */ |
|
| 313 | + */ |
|
| 314 | 314 | const RECEIVE_NOTIFY_EMAIL = 0x02; |
| 315 | 315 | const RECEIVE_NOTIFY_ALERT = 0x01; |
| 316 | 316 | |
@@ -742,7 +742,7 @@ |
||
| 742 | 742 | 'icon' => 'move', |
| 743 | 743 | ), |
| 744 | 744 | 'quickmod' => array( |
| 745 | - 'class' => 'inline_mod_check', |
|
| 745 | + 'class' => 'inline_mod_check', |
|
| 746 | 746 | 'content' => '<input type="checkbox" name="mark[' . $id . ']" value="' . $id . '">', |
| 747 | 747 | 'show' => $context['showCheckboxes'] |
| 748 | 748 | ) |
@@ -2205,7 +2205,7 @@ |
||
| 2205 | 2205 | function($a, $b) |
| 2206 | 2206 | { |
| 2207 | 2207 | if ($a['filesize'] == $b['filesize']) |
| 2208 | - return 0; |
|
| 2208 | + return 0; |
|
| 2209 | 2209 | |
| 2210 | 2210 | return ($a['filesize'] < $b['filesize']) ? -1 : 1; |
| 2211 | 2211 | } |
@@ -1107,7 +1107,7 @@ |
||
| 1107 | 1107 | 'left_join' => array(), |
| 1108 | 1108 | 'where' => array( |
| 1109 | 1109 | 't.id_redirect_topic = {int:not_redirected}', |
| 1110 | - 't.redirect_expires = {int:never_expires}', |
|
| 1110 | + 't.redirect_expires = {int:never_expires}', |
|
| 1111 | 1111 | ), |
| 1112 | 1112 | ); |
| 1113 | 1113 | |
@@ -1092,7 +1092,7 @@ |
||
| 1092 | 1092 | // PHP currently has a terrible handling with unserialize in which errors are fatal and not catchable. Lets borrow some code from the RFC that intends to fix this |
| 1093 | 1093 | // https://wiki.php.net/rfc/improve_unserialize_error_handling |
| 1094 | 1094 | try { |
| 1095 | - set_error_handler(static function ($severity, $message, $file, $line) { |
|
| 1095 | + set_error_handler(static function ($severity, $message, $file, $line) { |
|
| 1096 | 1096 | throw new \ErrorException($message, 0, $severity, $file, $line); |
| 1097 | 1097 | }); |
| 1098 | 1098 | $ser_test = @unserialize($modSettings['attachmentUploadDir']); |