]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix attachment saving
authorCraig Andrews <candrews@integralblue.com>
Mon, 31 Aug 2009 19:33:23 +0000 (15:33 -0400)
committerCraig Andrews <candrews@integralblue.com>
Mon, 31 Aug 2009 19:36:03 +0000 (15:36 -0400)
lib/util.php

index 6e79ffda4f971731cdf339d03ab9936e7122e293..f4ba3a6c21d0a23a833e1486826ae5039c828136 100644 (file)
@@ -495,7 +495,7 @@ function callback_helper($matches, $callback, $notice_id) {
     if(empty($notice_id)){
         $result = call_user_func_array($callback,$url);
     }else{
-        $result = call_user_func_array($callback, array($url,$notice_id) );
+        $result = call_user_func_array($callback, array(array($url,$notice_id)) );
     }
     return substr($matches[0],0,$left) . $result . substr($matches[0],$right);
 }