ZxcZxc123 před 2 roky
rodič
revize
6f0e6f613a
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      app/api/controller/Education.php

+ 2 - 0
app/api/controller/Education.php

@@ -18,6 +18,8 @@ class Education
         $type1 = input("type1", "");
         $type1 = input("type1", "");
         if ($type1 !== "") {
         if ($type1 !== "") {
             $where["type1"] = $type1;
             $where["type1"] = $type1;
+        } else {
+            $type1 = 2;
         }
         }
 
 
         if ($type1 == 0) {
         if ($type1 == 0) {