]> git.mjollnir.org Git - moodle.git/commitdiff
Fix for double escapeshellarg in bug 5258 - Thanks Andy!
authormoodler <moodler>
Fri, 21 Apr 2006 01:51:46 +0000 (01:51 +0000)
committermoodler <moodler>
Fri, 21 Apr 2006 01:51:46 +0000 (01:51 +0000)
lib/speller/server-scripts/spellchecker.php

index cdfcd66fae6351613a7d3df5ee86308489ab5b48..66946ea43e7030c56fc9c65fbe74b825f064bfa6 100644 (file)
@@ -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();
 </script>
 
 </body>
-</html>
\ No newline at end of file
+</html>