From 71f0526604bca5fa071846e1bdb2716f23246a0d Mon Sep 17 00:00:00 2001 From: gloas <gloas@afi-sa.fr> Date: Tue, 10 Jan 2017 15:51:26 +0100 Subject: [PATCH] fix sql error --- library/ZendAfi/Controller/Plugin/Manager/Manager.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/ZendAfi/Controller/Plugin/Manager/Manager.php b/library/ZendAfi/Controller/Plugin/Manager/Manager.php index 224e454a02c..63033059ec9 100644 --- a/library/ZendAfi/Controller/Plugin/Manager/Manager.php +++ b/library/ZendAfi/Controller/Plugin/Manager/Manager.php @@ -33,6 +33,10 @@ class ZendAfi_Controller_Plugin_Manager_Manager extends ZendAfi_Controller_Plugi public function renderHeaderActions() { + if (('add' == $this->_request->getActionName()) + || ('index' == $this->_request->getActionName())) + return ''; + if (($model_name = $this->_view->model_name) && ($model = $this->_view->$model_name)) return $this->_view -- GitLab