lvhao 5 dienas atpakaļ
vecāks
revīzija
7a86bca604
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 2 3
      core/CoreApp/controllers/Specialstock.php

+ 2 - 3
core/CoreApp/controllers/Specialstock.php

@@ -980,12 +980,11 @@ class Specialstock extends Start_Controller {
             {
                 $where  .= " and purchase = '$purchase'";
             }
-			if(isset($state))
+			if($state)
             {
-				if($state > -1){
+                if($state >-1){
 					$where  .= " and state = '$state'";
 				}
-               
             }
 			if($ktime && $jtime)
             {