aboutsummaryrefslogtreecommitdiffstats
path: root/include/group.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-08 16:26:00 -0800
committerfriendica <info@friendica.com>2013-02-08 16:26:00 -0800
commitce95b1f68c5dccddeade704528c56917936a4e52 (patch)
treeedc570cd01573bc91ee13fae4957b3a2e8a8165e /include/group.php
parent62afdf38202ee9f09011bef599506e3a5ee37528 (diff)
downloadvolse-hubzilla-ce95b1f68c5dccddeade704528c56917936a4e52.tar.gz
volse-hubzilla-ce95b1f68c5dccddeade704528c56917936a4e52.tar.bz2
volse-hubzilla-ce95b1f68c5dccddeade704528c56917936a4e52.zip
clean up some sql errors from the logs
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);