clean up some sql errors from the logs

This commit is contained in:
friendica
2013-02-08 16:26:00 -08:00
parent 62afdf3820
commit ce95b1f68c
2 changed files with 4 additions and 4 deletions

View File

@@ -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);