[-] BO : #PSTEST-925 : BugFix - Bad redirect when creating new store / shop with submit error

This commit is contained in:
Francois Gaillard
2012-03-08 14:03:19 +00:00
parent 6e3518fbf3
commit 81a98aa04f
2 changed files with 14 additions and 5 deletions
+4 -1
View File
@@ -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)