lvhao vor 5 Monaten
Ursprung
Commit
674b0f1d4a
1 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen
  1. 4 5
      core/CoreApp/controllers/Transfer.php

+ 4 - 5
core/CoreApp/controllers/Transfer.php

@@ -2531,11 +2531,7 @@ class Transfer extends Start_Controller {
 			if($transfer){
 				$where  .= " and lx = '$transfer'";
 			}else{
-				$transfer = $this->transfer->find_all('id not in (8,9,11,12,15,16)');
-				$transfer_ids = array_column($transfer, 'id');
-				var_dump(implode(",",$transfer_ids));
-				die;
-
+			
 			    $where .= " and lx in (".implode(",",$transfer_ids).") ";
 			}
 			
@@ -2672,6 +2668,9 @@ class Transfer extends Start_Controller {
 		if($transfer){
 			$where  .= " and lx = '$transfer'";
 		}else{
+			$transfer = $this->transfer->find_all('id not in (8,9,11,12,15,16)');
+			$transfer_ids = array_column($transfer, 'id');
+			$transfer_ids = implode(",",$transfer_ids);
 			$where .= " and lx in (".$transfer_ids.") ";
 		}