소스 검색

fix a bug

stanley-king 7 년 전
부모
커밋
3756ca0863
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      helper/statistics_helper.php

+ 1 - 2
helper/statistics_helper.php

@@ -99,9 +99,8 @@ class statistics_helper
                     {
                         if(empty($oper['count'])) {
                             $oper['count'] = 0;
-                        } else {
-                            $oper['count'] += intval($value);
                         }
+                        $oper['count'] += intval($value);
                     }
                 }
             }