]> 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)
committerEvan Prodromou <evan@status.net>
Tue, 1 Sep 2009 05:52:38 +0000 (22:52 -0700)
lib/util.php

index 87d5800f69c2674ac6bd9ef96d7b7a772fdab22a..0b696662c1208f49332b3ca5d681058388f381c2 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);
 }