summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-31 15:33:23 -0400
committerEvan Prodromou <evan@status.net>2009-08-31 22:52:38 -0700
commit84e11e8a1727404db558b2e9210f57b6f4f1786d (patch)
tree13189333bfb73dc3feb3bc391a3af10bb0ab0697 /lib
parent55972f59f6dd3048761f72c16e3fffac3fb29d47 (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 87d5800f6..0b696662c 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);
}