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];