From c0e9e0d9d1574daa421a2050c9663564630229b3 Mon Sep 17 00:00:00 2001 From: prasad <prasad@vtiger.com> Date: Fri, 9 Feb 2018 00:43:32 +0530 Subject: [PATCH] Fixes #532: Legacy dependency on global defined to avoid unwated PHP warning --- modules/CustomView/CustomView.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/CustomView/CustomView.php b/modules/CustomView/CustomView.php index 85792a8b1..db8bf8c97 100644 --- a/modules/CustomView/CustomView.php +++ b/modules/CustomView/CustomView.php @@ -13,6 +13,7 @@ require_once('include/utils/utils.php'); require_once 'include/Webservices/Utils.php'; global $adv_filter_options; +global $mod_strings; $adv_filter_options = array("e" => "" . $mod_strings['equals'] . "", "n" => "" . $mod_strings['not equal to'] . "", @@ -2076,4 +2077,4 @@ class CustomView extends CRMEntity { } -?> \ No newline at end of file +?> -- GitLab