forked from GNUsocial/gnu-social
fix 'callback_helper'
This commit is contained in:
parent
e04e009ddb
commit
b4ca06edb2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user