1
0
mirror of synced 2024-11-22 05:16:09 +03:00

history session fix

This commit is contained in:
Grisha Pomadchin 2013-12-26 20:40:11 +04:00
parent 098d966039
commit 36a5c31bae

View File

@ -281,7 +281,7 @@ class ICrmOrderActions
public static function orderHistory() {
global $USER;
if($USER) {
if(isset($_SESSION["SESS_AUTH"]["USER_ID"]) && $_SESSION["SESS_AUTH"]["USER_ID"]) {
$realUser = $USER->GetID();
$USER->Logout();
} else { // for agent; to add order User