aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/output.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/output.php')
-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;
}