history session fix
This commit is contained in:
parent
098d966039
commit
36a5c31bae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue