bugfix import article from shop

This commit is contained in:
OpenXE 2024-03-27 13:04:25 +00:00
parent 520fab99db
commit 515bb51b6e

View File

@ -2798,8 +2798,8 @@ class Artikel extends GenArtikel {
if(isset($result[$nameofcolumn])) { if(isset($result[$nameofcolumn])) {
if( if(
($result[$nameofcolumn]!='' && !is_array($result[$nameofcolumn])) ($result[$nameofcolumn]!='' && !is_array($result[$nameofcolumn]))
|| $nameofcolumn==='lieferzeitmanuell' || $nameofcolumn==='pseudopreis' // || $nameofcolumn==='lieferzeitmanuell' || $nameofcolumn==='pseudopreis'
){ ){
$this->app->DB->Update( $this->app->DB->Update(
"UPDATE artikel "UPDATE artikel
SET " . $nameofcolumn . "='" . $this->app->DB->real_escape_string($result[$nameofcolumn]) . "' SET " . $nameofcolumn . "='" . $this->app->DB->real_escape_string($result[$nameofcolumn]) . "'