|
@@ -315,7 +315,7 @@ |
|
|
block discarded – undo |
|
315
|
315
|
|
|
316
|
316
|
array_walk_recursive( |
|
317
|
317
|
$_POST, |
|
318
|
|
- function (&$value, $key) use ($context, $smcFunc) |
|
|
318
|
+ function(&$value, $key) use ($context, $smcFunc) |
|
319
|
319
|
{ |
|
320
|
320
|
// Replace any kind of space with a normal space, and remove any kind of control character, then trim. |
|
321
|
321
|
$value = $smcFunc['htmltrim'](preg_replace(array('~[\h\v]+~' . ($context['utf8'] ? 'u' : ''), '~\p{Cc}+~'), array(' ', ''), $value)); |
Please login to merge, or discard this patch.