// Merge -> revision 9124
This commit is contained in:
@@ -120,6 +120,13 @@ class StoreCore extends ObjectModel
|
||||
return $fields;
|
||||
}
|
||||
|
||||
public function __construct($id_store = NULL, $id_lang = NULL)
|
||||
{
|
||||
parent::__construct($id_store, $id_lang);
|
||||
$this->id_image = ($this->id AND file_exists(_PS_STORE_IMG_DIR_.(int)$this->id.'.jpg')) ? (int)$this->id : false;
|
||||
$this->image_dir = _PS_STORE_IMG_DIR_;
|
||||
}
|
||||
|
||||
public function getWsHours()
|
||||
{
|
||||
return implode(';', unserialize($this->hours));
|
||||
|
||||
Reference in New Issue
Block a user