diff --git a/src/lib/n98-magerun/modules/Zookal_HarrisStreetImpex/src/HarrisStreet/CoreConfigData/Exporter/Yaml.php b/src/lib/n98-magerun/modules/Zookal_HarrisStreetImpex/src/HarrisStreet/CoreConfigData/Exporter/Yaml.php index 440f76170..a12f1797f 100644 --- a/src/lib/n98-magerun/modules/Zookal_HarrisStreetImpex/src/HarrisStreet/CoreConfigData/Exporter/Yaml.php +++ b/src/lib/n98-magerun/modules/Zookal_HarrisStreetImpex/src/HarrisStreet/CoreConfigData/Exporter/Yaml.php @@ -73,10 +73,6 @@ protected function _getRS($length, $string = ' ') */ protected function _prepareValue($value) { - if (is_numeric($value)) { - return $value; - } - if (strpos($value, "\n") !== FALSE) { $values = explode("\n", $value); foreach ($values as &$line) { @@ -86,6 +82,6 @@ protected function _prepareValue($value) return "|\n" . $value; } - return '"' . addcslashes($value, '"') . '"'; + return sprintf("'%s'", str_replace('\'', '\'\'', $value)); } -} \ No newline at end of file +}