From 8441fb4e01b3e0887ac0c01fc6ea9f3da5ad79e2 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 2 Nov 2010 19:32:19 +0000 Subject: Refs #2463: Removed stay { that was causing the regexp to break git-svn-id: http://code.elgg.org/elgg/trunk@7196 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/output.php') diff --git a/engine/lib/output.php b/engine/lib/output.php index 707d0b79a..335a53ac4 100644 --- a/engine/lib/output.php +++ b/engine/lib/output.php @@ -155,7 +155,7 @@ function elgg_format_url($url) { * @return string The absolute url */ function elgg_normalize_url($url) { - if (preg_match("#{^(https?:)?//#i", $url)) { + if (preg_match("#^(https?:)?//#i", $url)) { return $url; } -- cgit v1.2.3