From 39b5dc376a04c3bd36257cc97c93f0a5a9e5d623 Mon Sep 17 00:00:00 2001 From: Andreas Palm Date: Thu, 4 Apr 2024 23:56:12 +0200 Subject: [PATCH] Bugfix Cronjob shopimport error with PHP8.1 --- cronjobs/shopimport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cronjobs/shopimport.php b/cronjobs/shopimport.php index a9f82c09..5dccadbd 100644 --- a/cronjobs/shopimport.php +++ b/cronjobs/shopimport.php @@ -945,7 +945,7 @@ if($shops) { { $onlinebestellnummer = $tmpwarenkorb['auftrag']; } - $projekt = $app->DB->Select("SELECT projekt WHERE shopexport = '$id' LIMIT 1"); + //$projekt = $app->DB->Select("SELECT projekt WHERE shopexport = '$id' LIMIT 1"); if(!empty($tmpwarenkorb['projekt']) && $app->DB->Select("SELECT id FROM projekt WHERE id = '".(int)$tmpwarenkorb['projekt']."' LIMIT 1"))$projekt = (int)$tmpwarenkorb['projekt']; if(isset($tmpwarenkorb['subshop']) && $tmpwarenkorb['subshop']) {