]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/cachesystem.class.php
Several fixes for template engine, JavaScripts, etc.
[mailer.git] / inc / classes / cachesystem.class.php
index a24402a16709b91893d4b2b4fc00452b70c2a416..7a068539c6ed220f940bbf2a6d51b3a22da44b94 100644 (file)
@@ -475,7 +475,7 @@ class CacheSystem {
                // String or non-string? ;-)
                if (is_string($value)) {
                        // String...
-                       $line = '$this->' . $prefix . "['".$this->name."']['" . $key . "']" . $extender . " = '" . smartAddSlashes($value) . "';\n";
+                       $line = '$this->' . $prefix . "['".$this->name."']['" . $key . "']" . $extender . " = '" . addslashes($value) . "';\n";
                } elseif (is_null($value)) {
                        // Null
                        $line = '$this->' . $prefix . "['".$this->name."']['" . $key . "']" . $extender . " = null;\n";