diff --git a/public_html/assets/api/daily.php b/public_html/assets/api/daily.php index e3e3e7c..3019d4e 100644 --- a/public_html/assets/api/daily.php +++ b/public_html/assets/api/daily.php @@ -666,7 +666,13 @@ class DailyService extends CONF { // -------------------------------------------------- // 0) Ghost Check // -------------------------------------------------- - if ($thisQuantity < 10 && $lastQuantity < 10 && $isTop !== 'G') { + if ( + $thisQuantity > 0 && + $lastQuantity > 0 && + $thisQuantity < 10 && + $lastQuantity < 10 && + $isTop !== 'G' + ) { $updateFields[] = "c_is_top = 'G'"; }