fix 'callback_helper'

This commit is contained in:
Evan Prodromou 2009-08-28 08:43:28 -07:00
parent e04e009ddb
commit b4ca06edb2

View File

@ -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) {