1
0
mirror of synced 2024-11-26 07:16:08 +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() { public static function orderHistory() {
global $USER; global $USER;
if($USER) { if(isset($_SESSION["SESS_AUTH"]["USER_ID"]) && $_SESSION["SESS_AUTH"]["USER_ID"]) {
$realUser = $USER->GetID(); $realUser = $USER->GetID();
$USER->Logout(); $USER->Logout();
} else { // for agent; to add order User } else { // for agent; to add order User