From: Craig Andrews Date: Mon, 31 Aug 2009 19:33:23 +0000 (-0400) Subject: Fix attachment saving X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=951a787877f450fc7f225cba4331f0763b71dbc2;p=quix0rs-gnu-social.git Fix attachment saving --- diff --git a/lib/util.php b/lib/util.php index 6e79ffda4f..f4ba3a6c21 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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); }