From cd95120725ef53a56cf4a4949fc87f715e13f993 Mon Sep 17 00:00:00 2001 From: Akshath <akshath.t@vtiger.com> Date: Mon, 15 Oct 2018 18:52:05 +0530 Subject: [PATCH] Fix #974 --- vtlib/Vtiger/Filter.php | 4 ++-- vtlib/Vtiger/Menu.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vtlib/Vtiger/Filter.php b/vtlib/Vtiger/Filter.php index 3485a09da..217007487 100644 --- a/vtlib/Vtiger/Filter.php +++ b/vtlib/Vtiger/Filter.php @@ -47,8 +47,8 @@ class Vtiger_Filter { * @access private */ function initialize($valuemap, $moduleInstance=false) { - $this->id = $valuemap[cvid]; - $this->name= $valuemap[viewname]; + $this->id = $valuemap['cvid']; + $this->name= $valuemap['viewname']; $this->module=$moduleInstance? $moduleInstance: Vtiger_Module::getInstance($valuemap[tabid]); } diff --git a/vtlib/Vtiger/Menu.php b/vtlib/Vtiger/Menu.php index 1f9397092..d447e5ac1 100644 --- a/vtlib/Vtiger/Menu.php +++ b/vtlib/Vtiger/Menu.php @@ -32,10 +32,10 @@ class Vtiger_Menu { * @access private */ function initialize($valuemap) { - $this->id = $valuemap[parenttabid]; - $this->label = $valuemap[parenttab_label]; - $this->sequence = $valuemap[sequence]; - $this->visible = $valuemap[visible]; + $this->id = $valuemap['parenttabid']; + $this->label = $valuemap['parenttab_label']; + $this->sequence = $valuemap['sequence']; + $this->visible = $valuemap['visible']; } /** -- GitLab