// fix AdminRequestSqlController add action
This commit is contained in:
1 parent
e69d3f2cd1
commit
833187e2f9
1 file changed
+4
-4
@@ -145,6 +145,10 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
');
|
||||
|
||||
$smarty = $this->context->smarty;
|
||||
|
||||
if ($this->display != 'edit' && $this->display != 'add')
|
||||
$this->display = 'list';
|
||||
|
||||
switch ($this->display)
|
||||
{
|
||||
case 'edit':
|
||||
@@ -162,10 +166,6 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
|
||||
$smarty->assign('view', $this->viewRequestSql());
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->display = 'list';
|
||||
break;
|
||||
}
|
||||
|
||||
parent::initContent();
|
||||
|
||||
Reference in new issue
Block a user