mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-23 19:31:13 +01:00
bugfixes shopimporter_shopify
This commit is contained in:
parent
869c888947
commit
1f27f9a5f5
@ -99553,6 +99553,17 @@
|
|||||||
"Privileges": "select,insert,update,references",
|
"Privileges": "select,insert,update,references",
|
||||||
"Comment": ""
|
"Comment": ""
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Field": "getestet",
|
||||||
|
"Type": "int(11)",
|
||||||
|
"Collation": null,
|
||||||
|
"Null": "NO",
|
||||||
|
"Key": "",
|
||||||
|
"Default": "0",
|
||||||
|
"Extra": "",
|
||||||
|
"Privileges": "select,insert,update,references",
|
||||||
|
"Comment": ""
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Field": "bearbeiter",
|
"Field": "bearbeiter",
|
||||||
"Type": "varchar(32)",
|
"Type": "varchar(32)",
|
||||||
|
@ -230,10 +230,14 @@ class Shopimporter_Shopify extends ShopimporterBase
|
|||||||
if(isset($this->app->User) && $this->app->User && method_exists($this->app->User, 'GetName')){
|
if(isset($this->app->User) && $this->app->User && method_exists($this->app->User, 'GetName')){
|
||||||
$this->bearbeiter = $this->app->DB->real_escape_string($this->app->User->GetName());
|
$this->bearbeiter = $this->app->DB->real_escape_string($this->app->User->GetName());
|
||||||
}
|
}
|
||||||
|
|
||||||
$einstellungen = $this->app->DB->Select("SELECT einstellungen_json FROM shopexport WHERE id = '$shopid' LIMIT 1");
|
$einstellungen = $this->app->DB->Select("SELECT einstellungen_json FROM shopexport WHERE id = '$shopid' LIMIT 1");
|
||||||
if($einstellungen){
|
if(!empty($einstellungen)){
|
||||||
$einstellungen = json_decode($einstellungen,true);
|
$einstellungen = json_decode($einstellungen,true);
|
||||||
|
} else {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->ShopifyURL=trim($einstellungen['felder']['ShopifyURL']);
|
$this->ShopifyURL=trim($einstellungen['felder']['ShopifyURL']);
|
||||||
if(stripos($this->ShopifyURL,'http') === false){
|
if(stripos($this->ShopifyURL,'http') === false){
|
||||||
$this->ShopifyURL = 'https://'.$this->ShopifyURL;
|
$this->ShopifyURL = 'https://'.$this->ShopifyURL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user