Piotr Labudda 8 лет назад
Родитель
Сommit
c066253b16
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      SE/se-lib/V.php

+ 1 - 1
SE/se-lib/V.php

@@ -448,7 +448,7 @@ EOF';
 	}
 
 	public static function quoteBashEcho($string) {
-		return str_replace('"', '\"', $string);
+		return str_replace([ '"', '$' ], [ '\"', '\$' ], $string);
 	}
 
 	public static function cloneArray($arr) {