diff --git a/web/pages/page.commslist.php b/web/pages/page.commslist.php index 2e32945e..453313b2 100644 --- a/web/pages/page.commslist.php +++ b/web/pages/page.commslist.php @@ -761,7 +761,7 @@ function setPostKey() $coment['added'] = Config::time($cotherdata->fields['added']); $commentText = html_entity_decode($cotherdata->fields['commenttxt'], ENT_QUOTES | ENT_HTML5, 'UTF-8'); $commentText = encodePreservingBr($commentText); - $commentText = preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', '\$1', $commentText); + $commentText = preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', '$1', $commentText); $coment['commenttxt'] = $commentText; if ($cotherdata->fields['editname'] != "") { $coment['edittime'] = Config::time($cotherdata->fields['edittime']);