[+] Classes: Add ObjectModel::hydrateCollection() in order to transform arrays from sql queries return in list of objects
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8877 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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