sugangqiang 1 سال پیش
والد
کامیت
61b1a50ea9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/common/api/TalentConditionApi.php

+ 1 - 1
app/common/api/TalentConditionApi.php

@@ -20,7 +20,7 @@ class TalentConditionApi {
         $where[] = ["type", "=", $type];
         if (!$showAll) {
             $where[] = ["delete", "=", 0];
-            $where[] = ["active", "=", $active];
+            $where[] = ["active", "=", 1];
         }
         if ($cat) {
             $where[] = ["talentLevelCat", "=", $cat];