sugangqiang 1 rok temu
rodzic
commit
61b1a50ea9
1 zmienionych plików z 1 dodań i 1 usunięć
  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];