sugangqiang před 1 rokem
rodič
revize
61b1a50ea9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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];