From 07efb62f99f563aaa8afeddc84a39d959cb96a94 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 12 Feb 2015 00:15:58 +0300 Subject: [PATCH] Bug #1405774 fix Auto logout for "Alternate interface" now closes the case before standby --- waitnextcase_interface2.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/waitnextcase_interface2.php b/waitnextcase_interface2.php index cdb76828..a291c363 100644 --- a/waitnextcase_interface2.php +++ b/waitnextcase_interface2.php @@ -29,7 +29,11 @@ * * */ + +/** + */ +include_once("lang.inc.php"); /** * Configuration file */ @@ -44,10 +48,17 @@ include_once("functions/functions.xhtml.php"); * Operator functions */ include_once("functions/functions.operator.php"); - + $operator_id = get_operator_id(); + end_call_attempt($operator_id); + end_case($operator_id); xhtml_head(T_("queXS"), false, array("css/index_interface2.css","css/tabber_interface2.css"),array("js/tabber_interface2.js")); +if (isset($_GET['auto'])) +{ + print "

" . T_("You have been automatically logged out of work due to inactivity") . "

"; +} + ?>