]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/util.php
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
[quix0rs-gnu-social.git] / lib / util.php
index edc08d4c127b96df29bffd3d8c65cfc934104c21..7228b3fe3e81ce755a0b715e93bd2b7f2ef98d51 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) {