summaryrefslogtreecommitdiff
path: root/includes/inc_utils.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/inc_utils.php')
-rwxr-xr-xincludes/inc_utils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/inc_utils.php b/includes/inc_utils.php
index 82b57a6..e748c64 100755
--- a/includes/inc_utils.php
+++ b/includes/inc_utils.php
@@ -50,7 +50,7 @@ function php2js ($var)
return $var;
elseif (is_string($var))
- return "\"" . addslashes(stripslashes($var)) . "\"";
+ return "\"" .$var . "\"";
else
return false;