summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-08-28 08:43:28 -0700
committerEvan Prodromou <evan@status.net>2009-08-28 08:43:28 -0700
commitb4ca06edb286a4518b0a59e2a59e50e1c4b6ecb1 (patch)
treed8350a8dac6b9627bb2acdf9f38f065730b5342c /lib/util.php
parente04e009ddb51cf8327744a2d642b793a3d9716cd (diff)
fix 'callback_helper'0.8.1
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 8a56be55d..87d5800f6 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -450,7 +450,7 @@ function common_replace_urls_callback($text, $callback, $notice_id = null) {
'#ixu';
preg_match_all($regex,$text,$matches);
//print_r($matches);
- return preg_replace_callback($regex, curry(callback_helper,$callback,$notice_id) ,$text);
+ return preg_replace_callback($regex, curry('callback_helper',$callback,$notice_id) ,$text);
}
function callback_helper($matches, $callback, $notice_id) {