From 9cebd249871389bb756cb4d73e6719200120e413 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 26 Aug 2015 22:13:20 -0700 Subject: change attach_store to allow a predefined item to accompany a photo --- include/attach.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/attach.php') 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']) { -- cgit v1.2.3