mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Bugfix Cronjob shopimport error with PHP8.1
This commit is contained in:
parent
bd94ac8e15
commit
39b5dc376a
@ -945,7 +945,7 @@ if($shops) {
|
|||||||
{
|
{
|
||||||
$onlinebestellnummer = $tmpwarenkorb['auftrag'];
|
$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(!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'])
|
if(isset($tmpwarenkorb['subshop']) && $tmpwarenkorb['subshop'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user