aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/attach.php b/include/attach.php
index a23f0f81a..620c7620c 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -758,6 +758,8 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
$args['created'] = $created;
$args['edited'] = $edited;
+ if($arr['item'])
+ $args['item'] = $arr['item'];
$p = photo_upload($channel,$observer,$args);
if($p['success']) {