Fix a minor bug in ring groups.
This commit is contained in:
parent
79cbecb5e9
commit
4afee9555e
|
|
@ -75,7 +75,7 @@ require_once "resources/paging.php";
|
||||||
if ($prep_statement) {
|
if ($prep_statement) {
|
||||||
$prep_statement->execute();
|
$prep_statement->execute();
|
||||||
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
|
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
|
||||||
if ($row['num_rows'] > 0) {
|
if (strlen($row['num_rows']) > 0) {
|
||||||
$num_rows = $row['num_rows'];
|
$num_rows = $row['num_rows'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue