Fix bug with extra escaping of 'session expired' message

This commit is contained in:
Fedor A. Fetisov 2013-10-01 01:33:03 +04:00
parent f845cb628e
commit 0b2bff871f

View File

@ -24,7 +24,7 @@ require_once('../libs/groups.php');
$operator = get_logged_in();
if (!$operator) {
start_xml_output();
echo "<error><descr>" . safe_htmlspecialchars(safe_htmlspecialchars(myiconv($mibew_encoding, "utf-8", escape_with_cdata(getstring("agent.not_logged_in"))))) . "</descr></error>";
echo "<error><descr>" . escape_with_cdata(safe_htmlspecialchars(myiconv($mibew_encoding, "utf-8", getstring("agent.not_logged_in")))) . "</descr></error>";
exit;
}