diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-14 23:23:06 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-14 23:23:06 +0200 |
commit | 3c7d2d4cea80fae5113de8c78ed522ce8b32c16d (patch) | |
tree | 17dae9ceb932f5b46fcdd037341f9fa46ba7d266 | |
parent | ca35db76b8a61f674fc745e5be01138fe4680f99 (diff) | |
download | volse-hubzilla-3c7d2d4cea80fae5113de8c78ed522ce8b32c16d.tar.gz volse-hubzilla-3c7d2d4cea80fae5113de8c78ed522ce8b32c16d.tar.bz2 volse-hubzilla-3c7d2d4cea80fae5113de8c78ed522ce8b32c16d.zip |
updating the local item only does not make much sense in this case
-rw-r--r-- | mod/photos.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php index 64e96c52c..cd293b39d 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -330,14 +330,13 @@ function photos_post(&$a) { // make sure the linked item has the same permissions as the photo regardless of any other changes - $x = q("update item set allow_cid = '%s', allow_gid = '%s', deny_cid = '%s', deny_gid = '%s', item_private = %d, title = '%s' + $x = q("update item set allow_cid = '%s', allow_gid = '%s', deny_cid = '%s', deny_gid = '%s', item_private = %d where id = %d", dbesc($perm['allow_cid']), dbesc($perm['allow_gid']), dbesc($perm['deny_cid']), dbesc($perm['deny_gid']), intval($acl->is_private()), - dbesc($desc), intval($item_id) ); |