dever 6 years ago
parent
commit
f889997ce6
1 changed files with 4 additions and 4 deletions
  1. 4 4
      main/src/Journal_v1.php

+ 4 - 4
main/src/Journal_v1.php

@@ -418,11 +418,11 @@ class Journal_v1 extends Core
 	        if ($this->data['info']['buy'] == 1 && $subscribe == 2) {
 	            Dever::alert('未订阅');
 	        }
-        }
 
-        if ($this->data['info']['buy'] == 2 && $this->data['info']['status'] == 2) {
-            # 免费刊,增加订阅量
-            $add_num = true;
+            if ($this->data['info']['buy'] == 2 && $this->data['info']['status'] == 2) {
+                # 免费刊,增加订阅量
+                $add_num = true;
+            }
         }
 
         # 获取最新10条内容