Commit: 430f43b4f75037552a93c8cc5ea1cccf35495066

Author: Niel Archer | Date: 2010-03-13 08:18:49 +0000
Adding parentheses to link regex.
diff --git a/views/logs/view.html.php b/views/logs/view.html.php index 946d3ab..0cea460 100644 --- a/views/logs/view.html.php +++ b/views/logs/view.html.php @@ -6,7 +6,7 @@ $rgb = array($hash % 255, $hash % 255, $hash % 255); $rgb[$hash % 2] = 0; $message = preg_replace( - '@(https?://([-\w\.]+)+(:\d+)?(/([-\w/_\.,#\+\?]*(\?\S+)?)?)?)@', + '@(https?://([-\w\.]+)+(:\d+)?(/([-\w/_\.,#\(\)\+\?]*(\?\S+)?)?)?)@', '<a href="$1">$1</a>', $h($line['message']) );