From 2b801ea57d57180eebd91e2f062c739c94227eab Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 5 Aug 2010 11:06:13 +0000 Subject: [PATCH] Fixed minor bug in Real-time report campaign permissions git-svn-id: svn://192.168.202.10@1493 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php index 9e4f8fda..b36a0e3d 100644 --- a/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php +++ b/agc_2-X/trunk/www/vicidial/AST_timeonVDADall.php @@ -64,10 +64,11 @@ # 100424-0943 - Added realtime_block_user_info option # 100709-1054 - Added system setting slave server option # 100802-2347 - Added User Group Allowed Reports option validation and allowed campaigns restrictions +# 100805-0704 - Fixed minor bug in campaigns restrictions # -$version = '2.4-55'; -$build = '100802-2347'; +$version = '2.4-56'; +$build = '100805-0704'; header ("Content-type: text/html; charset=utf-8"); @@ -180,7 +181,7 @@ if (!isset($with_inbound)) } $ingroup_detail=''; -if (strlen($group)>1) {$groups[0] = $group; $RR=40;} +if ( (strlen($group)>1) and (strlen($groups[0])<1) ) {$groups[0] = $group; $RR=40;} else {$group = $groups[0];} function get_server_load($windows = false)