aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-11 04:14:47 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-11 04:14:47 -0700
commitd2c6fa3fa15177990dbc1ae6370f670ed59b3243 (patch)
tree49dd80f6c1c996e9e9e84bd960962ccc5aea851d /include
parentf4e634ad526198cc5c79e74d77b19c8a1b518942 (diff)
downloadvolse-hubzilla-d2c6fa3fa15177990dbc1ae6370f670ed59b3243.tar.gz
volse-hubzilla-d2c6fa3fa15177990dbc1ae6370f670ed59b3243.tar.bz2
volse-hubzilla-d2c6fa3fa15177990dbc1ae6370f670ed59b3243.zip
group removal
Diffstat (limited to 'include')
-rw-r--r--include/group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/group.php b/include/group.php
index dfec4afa0..799065e27 100644
--- a/include/group.php
+++ b/include/group.php
@@ -38,7 +38,7 @@ function group_rmv($uid,$name) {
);
// remove group
- $r = q("UPDATE GROUP SET `deleted` = 1 WHERE `uid` = %d AND `id` = %d LIMIT 1",
+ $r = q("UPDATE `group` SET `deleted` = 1 WHERE `uid` = %d AND `name` = '%s' LIMIT 1",
intval($uid),
dbesc($name)
);