diff options
author | friendica <info@friendica.com> | 2013-09-10 19:06:06 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-10 19:06:06 -0700 |
commit | 3e5414cf35f3781297490e058c6d366bca45748e (patch) | |
tree | 3b317e302652df514c3fe7f1471c14932b1b67db /include/activities.php | |
parent | 7ada499ca9a1424a59204d87edb5856f88a79b59 (diff) | |
download | volse-hubzilla-3e5414cf35f3781297490e058c6d366bca45748e.tar.gz volse-hubzilla-3e5414cf35f3781297490e058c6d366bca45748e.tar.bz2 volse-hubzilla-3e5414cf35f3781297490e058c6d366bca45748e.zip |
provide detailed error to remote site for the myriad of things that can go wrong inside item_store(), !! this changes the return of item_store !!
Diffstat (limited to 'include/activities.php')
-rw-r--r-- | include/activities.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/activities.php b/include/activities.php index 7ef26abeb..73180eae0 100644 --- a/include/activities.php +++ b/include/activities.php @@ -75,7 +75,8 @@ function profile_activity($changed, $value) { $arr['deny_cid'] = $self['channel_deny_cid']; $arr['deny_gid'] = $self['channel_deny_gid']; - $i = item_store($arr); + $res = item_store($arr); + $i = $res['item_id']; if($i) { // FIXME - limit delivery in notifier.php to those specificed in the perms argument |