浏览代码

fix a little bug

stanley-king 3 年之前
父节点
当前提交
a8b56f0a95
共有 1 个文件被更改,包括 2 次插入0 次删除
  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'] = '';
                         }
                     }