diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:32:19 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 19:32:19 +0000 |
commit | 8441fb4e01b3e0887ac0c01fc6ea9f3da5ad79e2 (patch) | |
tree | e5ad2efb82b788013743ba98032c4ba8f055a9ac | |
parent | 8db84f0d439ceec3006742bee56086700742d11c (diff) | |
download | elgg-8441fb4e01b3e0887ac0c01fc6ea9f3da5ad79e2.tar.gz elgg-8441fb4e01b3e0887ac0c01fc6ea9f3da5ad79e2.tar.bz2 |
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
-rw-r--r-- | engine/lib/output.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |