mirror of
https://github.com/YGGverse/Yo.git
synced 2025-03-12 21:31:21 +00:00
fix total condition
This commit is contained in:
parent
3448eb85f7
commit
da365c1ab1
@ -63,7 +63,12 @@ catch (Exception $error)
|
||||
$start = 0;
|
||||
$limit = 100;
|
||||
|
||||
$total = $yggo->query('SELECT COUNT(*) AS `total` FROM `hostPage` WHERE `httpCode` = 200')->fetch()->total;
|
||||
$total = $yggo->query('SELECT COUNT(*) AS `total` FROM `hostPage`
|
||||
|
||||
WHERE `hostPage`.`httpCode` = 200
|
||||
AND `hostPage`.`timeUpdated` IS NOT NULL
|
||||
AND `hostPage`.`mime` IS NOT NULL
|
||||
AND `hostPage`.`size` IS NOT NULL')->fetch()->total;
|
||||
|
||||
$processed = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user