aboutsummaryrefslogtreecommitdiffstats
path: root/mod/group.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/group.php')
-rw-r--r--mod/group.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/group.php b/mod/group.php
index a3bd750f9..fbd38bfeb 100644
--- a/mod/group.php
+++ b/mod/group.php
@@ -93,11 +93,11 @@ function group_content(&$a) {
));
}
-
+
if(($a->argc == 3) && ($a->argv[1] == 'drop')) {
- if(intval($argv[2])) {
+ if(intval($a->argv[2])) {
$r = q("SELECT `name` FROM `group` WHERE `id` = %d AND `uid` = %d LIMIT 1",
- intval($argv[2]),
+ intval($a->argv[2]),
intval($_SESSION['uid'])
);
if(count($r))