From ba1157dbfc79e20a9508200b31caa4ec5825703b Mon Sep 17 00:00:00 2001 From: Xenomporio <> Date: Wed, 20 Jul 2022 12:29:51 +0200 Subject: [PATCH] Removed select from steuerregelngruppe, table does not exist --- www/lib/class.erpapi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/lib/class.erpapi.php b/www/lib/class.erpapi.php index 6b2d17f4..b7cb6c0b 100644 --- a/www/lib/class.erpapi.php +++ b/www/lib/class.erpapi.php @@ -18981,14 +18981,14 @@ function SendPaypalFromAuftrag($auftrag, $test = false) $dbformat = 1; $id = $value; if($id > 0){ - $abkuerzung = $this->app->DB->Select("SELECT bezeichnung FROM steuerregelngruppe WHERE id='$id' LIMIT 1"); +// Removed, table does not exist $abkuerzung = $this->app->DB->Select("SELECT bezeichnung FROM steuerregelngruppe WHERE id='$id' LIMIT 1"); }else{ $abkuerzung = ''; } } else { $dbformat = 0; $value = $this->app->DB->real_escape_string($value); - $id = $this->app->DB->Select("SELECT id FROM steuerregelngruppe WHERE bezeichnung = '$value' ORDER BY aktiv = 1 DESC LIMIT 1"); +// Removed, table does not exist $id = $this->app->DB->Select("SELECT id FROM steuerregelngruppe WHERE bezeichnung = '$value' ORDER BY aktiv = 1 DESC LIMIT 1"); if($id <=0) $id=0; }