summaryrefslogtreecommitdiff
path: root/app/views/entry/read.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/entry/read.phtml')
-rwxr-xr-xapp/views/entry/read.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/entry/read.phtml b/app/views/entry/read.phtml
index 4d0a84f45..6d3313a89 100755
--- a/app/views/entry/read.phtml
+++ b/app/views/entry/read.phtml
@@ -12,4 +12,4 @@ $url = Url::display (array (
'params' => Request::params (),
));
-echo json_encode (array ('url' => preg_replace ('#&#i', '&', $url)));
+echo json_encode (array ('url' => str_ireplace ('&', '&', $url)));