aboutsummaryrefslogtreecommitdiff
path: root/app/views/entry/bookmark.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/entry/bookmark.phtml')
-rwxr-xr-xapp/views/entry/bookmark.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/entry/bookmark.phtml b/app/views/entry/bookmark.phtml
index fe64bb2d8..1ff1c220c 100755
--- a/app/views/entry/bookmark.phtml
+++ b/app/views/entry/bookmark.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)));