]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/util.php
fix 'callback_helper'
[quix0rs-gnu-social.git] / lib / util.php
index 8a56be55d514489460d48d84b55205828fab0aca..87d5800f69c2674ac6bd9ef96d7b7a772fdab22a 100644 (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) {