Przeglądaj źródła

fix zero divert error

stanley-king 2 lat temu
rodzic
commit
28b5f073d7
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      helper/refill/policy/ctl_itemex.php

+ 2 - 1
helper/refill/policy/ctl_itemex.php

@@ -92,7 +92,8 @@ class ctl_itemex
     public function update_params($parms)
     {
         [$this->mSpeed, $this->mRatio, $this->mRatioCommit, $this->mNotifyTime,$this->mMonitorCommit] = $parms;
-        if($this->mRatioCommit == 0) {
+
+        if($this->mNotifyTime == 0) {
             $this->mNotifyTime = 1;
         }
     }