[+] Classes: Add ObjectModel::hydrateCollection() in order to transform arrays from sql queries return in list of objects
This commit is contained in:
1 parent
6ab8f22725
commit
ce866fa68a
11 files changed
+160
-44
No files matched your search
@@ -48,6 +48,8 @@ class AddressesControllerCore extends FrontController
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
parent::init();
|
||||
|
||||
if (!Validate::isLoadedObject($this->context->customer))
|
||||
die(Tools::displayError('Customer not found'));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user