Browse Source

fix processed offset

main
ghost 1 year ago
parent
commit
4c3038e733
  1. 2
      src/cli/yggo/import.php

2
src/cli/yggo/import.php

@ -70,7 +70,7 @@ $total = $yggo->query('SELECT COUNT(*) AS `total` FROM `hostPage` @@ -70,7 +70,7 @@ $total = $yggo->query('SELECT COUNT(*) AS `total` FROM `hostPage`
AND `hostPage`.`mime` IS NOT NULL
AND `hostPage`.`size` IS NOT NULL')->fetch()->total;
$processed = 0;
$processed = $start;
for ($i = 0; $i <= $total; $i++)
{

Loading…
Cancel
Save