aboutsummaryrefslogtreecommitdiffstats
path: root/include/group.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/group.php')
-rw-r--r--include/group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/group.php b/include/group.php
index 3a2fe7a3c..6042acbb4 100644
--- a/include/group.php
+++ b/include/group.php
@@ -31,7 +31,7 @@ function group_add($uid,$name) {
$dups = false;
$hash = random_string() . $name;
- $r = q("SELECT id FROM group WHERE hash = '%s' LIMIT 1", dbesc($hash));
+ $r = q("SELECT id FROM `group` WHERE hash = '%s' LIMIT 1", dbesc($hash));
if($r)
$dups = true;
} while($dups == true);