diff options
-rw-r--r-- | include/group.php | 2 | ||||
-rw-r--r-- | version.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/group.php b/include/group.php index 35ec72167..fdcdc4416 100644 --- a/include/group.php +++ b/include/group.php @@ -32,7 +32,7 @@ function group_add($uid,$name) { $hash = random_string() . $name; $r = q("SELECT id FROM group WHERE hash = '%s' LIMIT 1", dbesc($hash)); - if(count($r)) + if($r) $dups = true; } while($dups == true); diff --git a/version.inc b/version.inc index 1ee5b111a..26a6801cf 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2012-12-13.168 +2012-12-14.169 |