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=84e11e8a1727404db558b2e9210f57b6f4f1786d;p=quix0rs-gnu-social.git Fix attachment saving --- diff --git a/lib/util.php b/lib/util.php index 87d5800f69..0b696662c1 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); }