Fix a minor bug in ring groups.

This commit is contained in:
Mark Crane
2013-11-26 19:59:46 +00:00
parent 79cbecb5e9
commit 4afee9555e

View File

@@ -75,7 +75,7 @@ require_once "resources/paging.php";
if ($prep_statement) {
$prep_statement->execute();
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
if ($row['num_rows'] > 0) {
if (strlen($row['num_rows']) > 0) {
$num_rows = $row['num_rows'];
}
else {