Fix attachment saving

This commit is contained in:
Craig Andrews 2009-08-31 15:33:23 -04:00
parent 33d2ae6af3
commit 951a787877

View 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);
}