From 1e371e7377983edc92c7db80f2744c9e6764c11c Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Mon, 13 Feb 2023 10:31:33 +0100 Subject: [PATCH] Lager LagerBuchenEinlagern corrected misleading message "Regal gibt es nicht" --- www/pages/lager.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/pages/lager.php b/www/pages/lager.php index 7a3af3ae..39882913 100644 --- a/www/pages/lager.php +++ b/www/pages/lager.php @@ -2182,7 +2182,6 @@ class Lager extends GenLager { $alles_komplett++; } - $artikel_tmp = $this->app->DB->Select("SELECT id FROM artikel WHERE nummer='$nummer' AND nummer!='' AND geloescht!=1 AND lagerartikel=1 LIMIT 1"); $ean = $this->app->DB->Select("SELECT id FROM artikel WHERE ean='$nummer' AND ean!='' AND geloescht!=1 AND lagerartikel=1 LIMIT 1"); if($artikel_tmp <=0 && $ean > 0) @@ -2201,10 +2200,14 @@ class Lager extends GenLager { // gibts regal $regalcheck = $this->app->DB->Select("SELECT id FROM lager_platz WHERE id='$regal' LIMIT 1"); - if ($regalcheck != $regal || $regal == '' || $regal == 0) { + if ($regalcheck != $regal) { $grund.= "