Ver código fonte

fix a little bug

stanley-king 3 anos atrás
pai
commit
a8b56f0a95
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      helper/refill/policy/mratio_control.php

+ 2 - 0
helper/refill/policy/mratio_control.php

@@ -115,6 +115,8 @@ class mratio_control
 
                         if(!empty($tmp)) {
                             $cfg['segment'] = implode('|',$tmp);
+                        } else {
+                            $cfg['segment'] = '';
                         }
                     }