mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
bugfixes shopimporter_shopify
This commit is contained in:
parent
869c888947
commit
1f27f9a5f5
@ -99553,6 +99553,17 @@
|
||||
"Privileges": "select,insert,update,references",
|
||||
"Comment": ""
|
||||
},
|
||||
{
|
||||
"Field": "getestet",
|
||||
"Type": "int(11)",
|
||||
"Collation": null,
|
||||
"Null": "NO",
|
||||
"Key": "",
|
||||
"Default": "0",
|
||||
"Extra": "",
|
||||
"Privileges": "select,insert,update,references",
|
||||
"Comment": ""
|
||||
},
|
||||
{
|
||||
"Field": "bearbeiter",
|
||||
"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')){
|
||||
$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");
|
||||
if($einstellungen){
|
||||
if(!empty($einstellungen)){
|
||||
$einstellungen = json_decode($einstellungen,true);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->ShopifyURL=trim($einstellungen['felder']['ShopifyURL']);
|
||||
if(stripos($this->ShopifyURL,'http') === false){
|
||||
$this->ShopifyURL = 'https://'.$this->ShopifyURL;
|
||||
|
Loading…
Reference in New Issue
Block a user