diff options
author | zotlabs <mike@macgirvin.com> | 2017-02-12 17:40:18 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-02-12 17:40:18 -0800 |
commit | 2a525922929d5d9d54fd898e6f1658f0b959e667 (patch) | |
tree | 87a4859ebcd5a43a6123e201b99ef26447d6df69 /include/photos.php | |
parent | ccdfbc721fa0cf6710cce262cbaa219e2803e8c2 (diff) | |
download | volse-hubzilla-2a525922929d5d9d54fd898e6f1658f0b959e667.tar.gz volse-hubzilla-2a525922929d5d9d54fd898e6f1658f0b959e667.tar.bz2 volse-hubzilla-2a525922929d5d9d54fd898e6f1658f0b959e667.zip |
testing and bug fixes virtual profile groups
Diffstat (limited to 'include/photos.php')
-rw-r--r-- | include/photos.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/photos.php b/include/photos.php index 4cd5952f9..c0f7dc8c4 100644 --- a/include/photos.php +++ b/include/photos.php @@ -750,14 +750,14 @@ function photo_profile_setperms($channel_id,$resource_id,$profile_id) { else { $r = q("update photo set allow_cid = '', allow_gid = '%s', deny_cid = '', deny_gid = '' where resource_id = '%s' and uid = %d", - dbesc('vp.' . $profile_guid), + dbesc('<vp.' . $profile_guid . '>'), dbesc($resource_id), intval($channel_id) ); $r = q("update attach set allow_cid = '', allow_gid = '%s', deny_cid = '', deny_gid = '' where hash = '%s' and uid = %d", - dbesc('vp.' . $profile_guid), + dbesc('<vp.' . $profile_guid . '>'), dbesc($resource_id), intval($channel_id) ); |