Update index.php

This commit is contained in:
FusionPBX 2019-06-16 14:56:33 -06:00 committed by GitHub
parent 051bf704db
commit 6a0ce26902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -87,10 +87,7 @@
$sql .= "and user_uuid = :user_uuid ";
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
$parameters['user_uuid'] = $_SESSION['user']['user_uuid'];
$result = $database->select($sql, $parameters);
if (is_array($result)) {
$call_center_agent_uuid = $result[0]['call_center_agent_uuid'];
}
$call_center_agent_uuid = $database->select($sql, $parameters, 'column');
//update the user_status
if (isset($call_center_agent_uuid)) {