sql issue on admin page
This commit is contained in:
parent
574f074dc0
commit
49507a5149
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ function admin_content(&$a) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$r = q("SELECT COUNT (*) FROM `flag` as `ftotal` WHERE 1");
|
$r = q("SELECT COUNT(*) FROM `flag` as `ftotal` WHERE 1");
|
||||||
if(count($r))
|
if(count($r))
|
||||||
$a->set_pager_total($r[0]['ftotal']);
|
$a->set_pager_total($r[0]['ftotal']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue