@@ -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)