Fix for PHP8 issue on User Modify page
Fix for other reports issues git-svn-id: svn://192.168.202.10@3909 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -951,8 +951,8 @@ while ($m < $k)
|
|||||||
$PAUSEtotal[$m] = $pfUSERtotPAUSE_MS;
|
$PAUSEtotal[$m] = $pfUSERtotPAUSE_MS;
|
||||||
|
|
||||||
$total_hours=($Stime/3600);
|
$total_hours=($Stime/3600);
|
||||||
$Ssales_per_call=sprintf("%.2f", (100*($Stotal_sales/$Scalls)))." %";
|
$Ssales_per_call=sprintf("%.2f", (100*MathZDC($Stotal_sales, $Scalls)))." %";
|
||||||
$Ssales_per_hour=sprintf("%.2f", ($Stotal_sales/$total_hours));
|
$Ssales_per_hour=sprintf("%.2f", MathZDC($Stotal_sales, $total_hours));
|
||||||
|
|
||||||
$Ssales_per_call=sprintf("%13s", $Ssales_per_call);
|
$Ssales_per_call=sprintf("%13s", $Ssales_per_call);
|
||||||
$Ssales_per_hour=sprintf("%14s", $Ssales_per_hour);
|
$Ssales_per_hour=sprintf("%14s", $Ssales_per_hour);
|
||||||
|
|||||||
@@ -798,6 +798,7 @@ else
|
|||||||
$uc++;
|
$uc++;
|
||||||
}
|
}
|
||||||
$m=0;
|
$m=0;
|
||||||
|
$Scalls[$uc] = 0;
|
||||||
while ( ($m < $uc) and ($m < 50000) )
|
while ( ($m < $uc) and ($m < 50000) )
|
||||||
{
|
{
|
||||||
if ($user == "$Suser[$m]")
|
if ($user == "$Suser[$m]")
|
||||||
@@ -817,7 +818,7 @@ else
|
|||||||
}
|
}
|
||||||
if ($user_found < 1)
|
if ($user_found < 1)
|
||||||
{
|
{
|
||||||
$Scalls[$uc] = 0;
|
# $Scalls[$uc] = 0;
|
||||||
$Suser[$uc] = $user;
|
$Suser[$uc] = $user;
|
||||||
$Swait[$uc] = $wait;
|
$Swait[$uc] = $wait;
|
||||||
$Stalk[$uc] = $talk;
|
$Stalk[$uc] = $talk;
|
||||||
|
|||||||
@@ -6225,12 +6225,13 @@ if ($SSscript_remove_js > 0)
|
|||||||
# 241206-1527 - Do not display inactive VDAD/VDCL users in Copy User screen
|
# 241206-1527 - Do not display inactive VDAD/VDCL users in Copy User screen
|
||||||
# 241208-1747 - Changed DID filter_phone_group_id & pre_filter_phone_group_id to multi-selects
|
# 241208-1747 - Changed DID filter_phone_group_id & pre_filter_phone_group_id to multi-selects
|
||||||
# 250103-0843 - Added Enhanced Agent Monitoring system settings option, Changed copyright date
|
# 250103-0843 - Added Enhanced Agent Monitoring system settings option, Changed copyright date
|
||||||
|
# 250210-1701 - Fix for PHP8 issue on User Modify page
|
||||||
#
|
#
|
||||||
|
|
||||||
# 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
|
# 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-934a';
|
$admin_version = '2.14-935a';
|
||||||
$build = '250103-0843';
|
$build = '250210-1701';
|
||||||
|
|
||||||
$STARTtime = date("U");
|
$STARTtime = date("U");
|
||||||
$SQLdate = date("Y-m-d H:i:s");
|
$SQLdate = date("Y-m-d H:i:s");
|
||||||
@@ -7603,7 +7604,7 @@ if ( ( (strlen($ADD)>4) and ($ADD < 99998) ) or ($ADD==3) or (($ADD>20) and ($AD
|
|||||||
|
|
||||||
##### BEGIN get inbound groups listing for checkboxes #####
|
##### BEGIN get inbound groups listing for checkboxes #####
|
||||||
$xfer_groupsSQL='';
|
$xfer_groupsSQL='';
|
||||||
if ( (($ADD>20) and ($ADD<70)) and ($ADD!=41) or ( ($ADD==41) and ( (preg_match('/list_activation/i', $stage)) or (preg_match('/test_call/',$stage)) ) ) )
|
if ( (($ADD>20) and ($ADD<70)) and ($ADD!="4A") and ($ADD!=41) or ( ($ADD==41) and ( (preg_match('/list_activation/i', $stage)) or (preg_match('/test_call/',$stage)) ) ) )
|
||||||
{
|
{
|
||||||
$stmt="SELECT closer_campaigns,xfer_groups from vicidial_campaigns where campaign_id='$campaign_id' $LOGallowed_campaignsSQL;";
|
$stmt="SELECT closer_campaigns,xfer_groups from vicidial_campaigns where campaign_id='$campaign_id' $LOGallowed_campaignsSQL;";
|
||||||
$rslt=mysql_to_mysqli($stmt, $link);
|
$rslt=mysql_to_mysqli($stmt, $link);
|
||||||
|
|||||||
Reference in New Issue
Block a user