[-] BO : #PSTEST-925 : BugFix - Bad redirect when creating new store / shop with submit error
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13969 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -196,7 +196,8 @@ class AdminStoresControllerCore extends AdminController
|
||||
'required' => true,
|
||||
'options' => array(
|
||||
'id' => 'id_state',
|
||||
'name' => 'name'
|
||||
'name' => 'name',
|
||||
'query' => null
|
||||
)
|
||||
),
|
||||
array(
|
||||
@@ -369,6 +370,8 @@ class AdminStoresControllerCore extends AdminController
|
||||
|
||||
if (!count($this->errors))
|
||||
parent::postProcess();
|
||||
else
|
||||
$this->display = 'add';
|
||||
}
|
||||
|
||||
protected function postImage($id)
|
||||
|
||||
Reference in New Issue
Block a user