diff --git a/lib/speller/server-scripts/spellchecker.php b/lib/speller/server-scripts/spellchecker.php index cdfcd66fae6..66946ea43e7 100644 --- a/lib/speller/server-scripts/spellchecker.php +++ b/lib/speller/server-scripts/spellchecker.php @@ -37,7 +37,7 @@ function check_language($cmd) { $current_lang = current_language(); $output = ''; - if(!($handle = popen(escapeshellarg($cmd) .' dump dicts', 'r'))) { + if(!($handle = popen($cmd .' dump dicts', 'r'))) { error_handler("Couldn't create handle!"); exit; } @@ -237,4 +237,4 @@ wordWindowObj.writeBody(); - \ No newline at end of file +