agent screen related fixes for PHP7

git-svn-id: svn://192.168.202.10@3141 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2019-10-11 13:27:26 +00:00
parent 836d390df4
commit 4c761970da
9 changed files with 46 additions and 37 deletions
+5 -4
View File
@@ -1,7 +1,7 @@
<?php
# park_calls_display.php version 2.14
#
# Copyright (C) 2017 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# Copyright (C) 2019 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# This script is designed purely to send the details on the parked calls on the server
# This script depends on the server_ip being sent and also needs to have a valid user/pass from the vicidial_users table
@@ -31,10 +31,11 @@
# 141216-2105 - Added language settings lookups and user/pass variable standardization
# 150723-1712 - Added ajax logging
# 170526-2244 - Added additional variable filtering
# 190111-0907 - Fix for PHP7
#
$version = '2.14-13';
$build = '170526-2244';
$version = '2.14-14';
$build = '190111-0907';
$php_script = 'park_calls_display.php';
$SSagent_debug_logging=0;
$startMS = microtime();
@@ -120,7 +121,7 @@ if (strlen($SSagent_debug_logging) > 1)
$auth=0;
$auth_message = user_authorization($user,$pass,'',0,1,0,0);
$auth_message = user_authorization($user,$pass,'',0,1,0,0,'park_calls_display');
if ($auth_message == 'GOOD')
{$auth=1;}