From ce38eea9f6ea2a8f38293416ccddb2d2734ad9d2 Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 17 Jul 2017 18:46:10 +0000 Subject: [PATCH] Fix for empty agent_choose_territories value in admin.php git-svn-id: svn://192.168.202.10@2794 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/vicidial/admin.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index ab3c628c..a3cca091 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -4141,12 +4141,13 @@ else # 170609-1529 - Added ccc_lead_info API function # 170613-0851 - Added hide_inactive_lists system settings option # 170623-2142 - Changed parameters for password recommendations +# 170717-1444 - Fix for empty agent_choose_territories value # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time -$admin_version = '2.14-620a'; -$build = '170623-2142'; +$admin_version = '2.14-621a'; +$build = '170717-1444'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -12735,6 +12736,8 @@ if ($ADD=="4A") $delete_filters = '0'; $load_leads = '0'; } + if (strlen($agent_choose_territories) < 1) + {$agent_choose_territories=0;} $pass_hash=''; $pass_hashSQL=''; if ($SSpass_hash_enabled > 0) @@ -13005,6 +13008,8 @@ if ($ADD=="4B") $delete_filters = '0'; $load_leads = '0'; } + if (strlen($agent_choose_territories) < 1) + {$agent_choose_territories=0;} $pass_hash=''; $pass_hashSQL=''; if ($SSpass_hash_enabled > 0)