]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix 'callback_helper'
authorEvan Prodromou <evan@status.net>
Fri, 28 Aug 2009 15:43:28 +0000 (08:43 -0700)
committerEvan Prodromou <evan@status.net>
Fri, 28 Aug 2009 15:43:28 +0000 (08:43 -0700)
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) {