@@ -302,7 +302,6 @@ discard block |
||
| 302 | 302 | $condition = 'id_member IN ({array_int:members})'; |
| 303 | 303 | $parameters['members'] = $members; |
| 304 | 304 | } |
| 305 | - |
|
| 306 | 305 | elseif ($members === null) |
| 307 | 306 | $condition = '1=1'; |
| 308 | 307 | |
@@ -1970,7 +1969,7 @@ discard block |
||
| 1970 | 1969 | 'tag' => 'cowsay', |
| 1971 | 1970 | 'parameters' => array( |
| 1972 | 1971 | 'e' => array('optional' => true, 'quoted' => true, 'match' => '(.*?)', 'default' => 'oo', 'validate' => function ($eyes) use ($smcFunc) |
| 1973 | - { |
|
| 1972 | + { |
|
| 1974 | 1973 | static $css_added; |
| 1975 | 1974 | |
| 1976 | 1975 | if (empty($css_added)) |
@@ -1987,7 +1986,7 @@ discard block |
||
| 1987 | 1986 | }, |
| 1988 | 1987 | ), |
| 1989 | 1988 | 't' => array('optional' => true, 'quoted' => true, 'match' => '(.*?)', 'default' => ' ', 'validate' => function ($tongue) use ($smcFunc) |
| 1990 | - { |
|
| 1989 | + { |
|
| 1991 | 1990 | return $smcFunc['substr']($tongue . ' ', 0, 2); |
| 1992 | 1991 | }, |
| 1993 | 1992 | ), |
@@ -3105,7 +3104,7 @@ discard block |
||
| 3105 | 3104 | |
| 3106 | 3105 | // Replace away! |
| 3107 | 3106 | $message = preg_replace_callback($smileyPregSearch, function($matches) use ($smileyPregReplacements) |
| 3108 | - { |
|
| 3107 | + { |
|
| 3109 | 3108 | return $smileyPregReplacements[$matches[1]]; |
| 3110 | 3109 | }, $message); |
| 3111 | 3110 | } |
@@ -3892,7 +3891,6 @@ discard block |
||
| 3892 | 3891 | if (!isset($minSeed) && isset($js_file['options']['seed'])) |
| 3893 | 3892 | $minSeed = $js_file['options']['seed']; |
| 3894 | 3893 | } |
| 3895 | - |
|
| 3896 | 3894 | else |
| 3897 | 3895 | { |
| 3898 | 3896 | echo ' |
@@ -6070,7 +6068,6 @@ discard block |
||
| 6070 | 6068 | $isWritable = true; |
| 6071 | 6069 | break; |
| 6072 | 6070 | } |
| 6073 | - |
|
| 6074 | 6071 | else |
| 6075 | 6072 | @chmod($file, $val); |
| 6076 | 6073 | } |