diff options
author | Max Kostikov <max@kostikov.co> | 2018-09-27 23:53:51 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-09-27 23:53:51 +0200 |
commit | 71931b423c656aa91e07d524adbca571d5eea058 (patch) | |
tree | cb455e3fa69f5a029701c53ebeba387ba80c92f9 /include | |
parent | b54aabc9584f3515734d13fa12ef6d1dc99869e8 (diff) | |
download | volse-hubzilla-71931b423c656aa91e07d524adbca571d5eea058.tar.gz volse-hubzilla-71931b423c656aa91e07d524adbca571d5eea058.tar.bz2 volse-hubzilla-71931b423c656aa91e07d524adbca571d5eea058.zip |
Update items.php
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index c817c5afb..58461cc3a 100755 --- a/include/items.php +++ b/include/items.php @@ -4159,7 +4159,7 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C $sql_extra .= protect_sprintf(term_query('item', $arr['cat'], TERM_CATEGORY)); if($arr['gid'] && $uid) { - $r = q("SELECT * FROM groups WHERE id = %d AND uid = %d LIMIT 1", + $r = q("SELECT * FROM pgrp WHERE id = %d AND uid = %d LIMIT 1", intval($arr['group']), intval($uid) ); |