aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-03 16:10:28 -0700
committerredmatrix <git@macgirvin.com>2016-08-03 16:10:28 -0700
commit178c9838710a1ca7069a5aed344490071dfca4cc (patch)
treeb568a7fdb092cd87ccd6d8cf66e830e9d8a06a3a
parent0febfce268c7b7afbe90841e5afa99f4bc51b8c5 (diff)
downloadvolse-hubzilla-178c9838710a1ca7069a5aed344490071dfca4cc.tar.gz
volse-hubzilla-178c9838710a1ca7069a5aed344490071dfca4cc.tar.bz2
volse-hubzilla-178c9838710a1ca7069a5aed344490071dfca4cc.zip
issue #473 - unable to delete privacy groups
-rw-r--r--Zotlabs/Module/Group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Group.php b/Zotlabs/Module/Group.php
index 254ee6ef2..291566c6d 100644
--- a/Zotlabs/Module/Group.php
+++ b/Zotlabs/Module/Group.php
@@ -101,7 +101,7 @@ class Group extends \Zotlabs\Web\Controller {
check_form_security_token_redirectOnErr('/group', 'group_drop', 't');
if(intval(argv(2))) {
- $r = q("SELECT `name` FROM `groups` WHERE `id` = %d AND `uid` = %d LIMIT 1",
+ $r = q("SELECT `gname` FROM `groups` WHERE `id` = %d AND `uid` = %d LIMIT 1",
intval(argv(2)),
intval(local_channel())
);