Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/views/helpers/listing.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/views/helpers/listing.php')
-rw-r--r--site/app/views/helpers/listing.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/views/helpers/listing.php b/site/app/views/helpers/listing.php
index 33bceb1..cb71113 100644
--- a/site/app/views/helpers/listing.php
+++ b/site/app/views/helpers/listing.php
@@ -95,7 +95,7 @@ class ListingHelper extends Helper
elseif ($encode)
echo '"'.urlencode($value).'",'."\n";
else
- echo "'".preg_replace('/\n/', '\n', addslashes($value))."',\n";
+ echo "\"{$value}\",\n";
}
}
echo str_repeat("\t", $tab).'}'.($tab == 0 ? '' : ',')."\n";