aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 19:32:19 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 19:32:19 +0000
commit8441fb4e01b3e0887ac0c01fc6ea9f3da5ad79e2 (patch)
treee5ad2efb82b788013743ba98032c4ba8f055a9ac /engine
parent8db84f0d439ceec3006742bee56086700742d11c (diff)
downloadelgg-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
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/output.php2
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;
}