forked from GNUsocial/gnu-social
Fix attachment saving
This commit is contained in:
parent
55972f59f6
commit
84e11e8a17
@ -495,7 +495,7 @@ function callback_helper($matches, $callback, $notice_id) {
|
|||||||
if(empty($notice_id)){
|
if(empty($notice_id)){
|
||||||
$result = call_user_func_array($callback,$url);
|
$result = call_user_func_array($callback,$url);
|
||||||
}else{
|
}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);
|
return substr($matches[0],0,$left) . $result . substr($matches[0],$right);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user