From: moodler Date: Fri, 21 Apr 2006 01:51:46 +0000 (+0000) Subject: Fix for double escapeshellarg in bug 5258 - Thanks Andy! X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a80722bc3378eda0fc92e4557234e5a430677abc;p=moodle.git Fix for double escapeshellarg in bug 5258 - Thanks Andy! --- diff --git a/lib/speller/server-scripts/spellchecker.php b/lib/speller/server-scripts/spellchecker.php index cdfcd66fae..66946ea43e 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 +