[-] CORE : Merge of https://github.com/PrestaShop/PrestaShop/pull/814
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ class StoreCore extends ObjectModel
|
||||
|
||||
public function __construct($id_store = null, $id_lang = null)
|
||||
{
|
||||
parent::__construct($id_store, $id_lang);
|
||||
parent::__construct($id_store);
|
||||
$this->id_image = ($this->id && file_exists(_PS_STORE_IMG_DIR_.(int)$this->id.'.jpg')) ? (int)$this->id : false;
|
||||
$this->image_dir = _PS_STORE_IMG_DIR_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user