Fix for double escapeshellarg in bug 5258 - Thanks Andy!

This commit is contained in:
moodler
2006-04-21 01:51:46 +00:00
parent 6037288eeb
commit a80722bc33
+2 -2
View 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>
</html>