Fix for rare allowed reports issue

git-svn-id: svn://192.168.202.10@3007 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2018-07-12 19:12:03 +00:00
parent ec54f01009
commit 0ddba2b26e
5 changed files with 10 additions and 5 deletions
@@ -60,6 +60,7 @@
# 170829-0040 - Added screen color settings
# 171012-2015 - Fixed javascript/apache errors with graphs
# 180323-2306 - Fix for user time calculation, subtracted queue_seconds
# 180712-1508 - Fix for rare allowed reports issue
#
$startMS = microtime();
@@ -251,7 +252,7 @@ if ($DB) {$MAIN.="|$stmt|\n";}
$rslt=mysql_to_mysqli($stmt, $link);
$row=mysqli_fetch_row($rslt);
$LOGallowed_campaigns = $row[0];
$LOGallowed_reports = $row[1];
$LOGallowed_reports = "$row[1],";
$LOGadmin_viewable_groups = $row[2];
$LOGadmin_viewable_call_times = $row[3];
@@ -64,6 +64,7 @@
# 170829-0040 - Added screen color settings
# 171012-2015 - Fixed javascript/apache errors with graphs
# 180323-2307 - Fix for user time calculation, subtracted queue_seconds
# 180712-1508 - Fix for rare allowed reports issue
#
$startMS = microtime();
@@ -256,7 +257,7 @@ if ($DB) {$MAIN.="|$stmt|\n";}
$rslt=mysql_to_mysqli($stmt, $link);
$row=mysqli_fetch_row($rslt);
$LOGallowed_campaigns = $row[0];
$LOGallowed_reports = $row[1];
$LOGallowed_reports = "$row[1],";
$LOGadmin_viewable_groups = $row[2];
$LOGadmin_viewable_call_times = $row[3];
@@ -10,6 +10,7 @@
# 170829-0040 - Added screen color settings
# 171012-2015 - Fixed javascript/apache errors with graphs
# 180507-2315 - Added new help display
# 180712-1508 - Fix for rare allowed reports issue
#
$startMS = microtime();
@@ -230,7 +231,7 @@ if ($DB) {$MAIN.="|$stmt|\n";}
$rslt=mysql_to_mysqli($stmt, $link);
$row=mysqli_fetch_row($rslt);
$LOGallowed_campaigns = $row[0];
$LOGallowed_reports = $row[1];
$LOGallowed_reports = "$row[1],";
$LOGadmin_viewable_groups = $row[2];
$LOGadmin_viewable_call_times = $row[3];
@@ -8,6 +8,7 @@
# 170513-0040 - First build
# 170822-2231 - Modified to use screen colors
# 180507-2315 - Added new help display
# 180712-1508 - Fix for rare allowed reports issue
#
$startMS = microtime();
@@ -156,7 +157,7 @@ if ($DB) {$MAIN.="|$stmt|\n";}
$rslt=mysql_to_mysqli($stmt, $link);
$row=mysqli_fetch_row($rslt);
$LOGallowed_campaigns = $row[0];
$LOGallowed_reports = $row[1];
$LOGallowed_reports = "$row[1],";
$LOGadmin_viewable_groups = $row[2];
$LOGadmin_viewable_call_times = $row[3];
+2 -1
View File
@@ -11,6 +11,7 @@
# 171012-2015 - Fixed javascript/apache errors with graphs
# 171205-2304 - Modified to include disposition seconds in C report
# 180508-2215 - Added new help display
# 180712-1508 - Fix for rare allowed reports issue
#
$startMS = microtime();
@@ -229,7 +230,7 @@ if ($DB) {$MAIN.="|$stmt|\n";}
$rslt=mysql_to_mysqli($stmt, $link);
$row=mysqli_fetch_row($rslt);
$LOGallowed_campaigns = $row[0];
$LOGallowed_reports = $row[1];
$LOGallowed_reports = "$row[1],";
$LOGadmin_viewable_groups = $row[2];
$LOGadmin_viewable_call_times = $row[3];