diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -314,7 +314,7 @@ function match($pattern, $string, $p = array()) if($p['offset_capture']) $flags |= PREG_OFFSET_CAPTURE; - $oldlocale = setlocale( LC_CTYPE, 0 ); + $oldlocale = setlocale(LC_CTYPE, 0); setlocale(LC_CTYPE, $p['locale']); if ($p['all']) @@ -396,7 +396,7 @@ function exec(/* $cmd, $values1 = array(), ... */) $values += (array)$arg; #for escapeshellarg in it::_exec_quotevalue - $oldlocale = setlocale( LC_CTYPE, 0 ); + $oldlocale = setlocale(LC_CTYPE, 0); setlocale(LC_CTYPE, 'de_CH'); while (list($tag, $option, $key) = it::match('({(-?)(\w+)})', $cmd)) { |