summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-31 15:33:23 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-31 15:36:03 -0400
commit951a787877f450fc7f225cba4331f0763b71dbc2 (patch)
tree67a9aeaf5248315b00ea566ca842197f28460999 /lib
parent33d2ae6af3a97ddcd60692e4b12603077b140c23 (diff)
Fix attachment saving
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 6e79ffda4..f4ba3a6c2 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);
}