From: ewinslow Date: Tue, 2 Nov 2010 19:32:19 +0000 (+0000) Subject: Refs #2463: Removed stay { that was causing the regexp to break X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8441fb4e01b3e0887ac0c01fc6ea9f3da5ad79e2;p=lorea%2Felgg.git 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 --- 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; }