aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-09-27 23:53:51 +0200
committerMax Kostikov <max@kostikov.co>2018-09-27 23:53:51 +0200
commit71931b423c656aa91e07d524adbca571d5eea058 (patch)
treecb455e3fa69f5a029701c53ebeba387ba80c92f9
parentb54aabc9584f3515734d13fa12ef6d1dc99869e8 (diff)
downloadvolse-hubzilla-71931b423c656aa91e07d524adbca571d5eea058.tar.gz
volse-hubzilla-71931b423c656aa91e07d524adbca571d5eea058.tar.bz2
volse-hubzilla-71931b423c656aa91e07d524adbca571d5eea058.zip
Update items.php
-rwxr-xr-xinclude/items.php2
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)
);