mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
Merge pull request #134 from exciler/bugfix_shopimport
Bugfix Cronjob shopimport error with PHP8.1
This commit is contained in:
commit
fb06b38a4d
@ -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'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user