Skip to content

Commit

Permalink
Merge pull request inoerp#103 from 6666422/patch-1
Browse files Browse the repository at this point in the history
Update class_ino_session.inc
  • Loading branch information
inoerp authored Oct 18, 2018
2 parents b01b7bb + 9f80453 commit b5b82fc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class ino_session extends dbObject {
if ($user_a) {
$user_i = $user_a[0];
} else {
return false;
return serialize(false);
}

if ($user_i && $user_i->ino_user_id > 0 && !empty($php_sid)) {
Expand All @@ -244,7 +244,7 @@ class ino_session extends dbObject {
}


return true;
return serialize(true);
}

public function session_write() {
Expand Down Expand Up @@ -303,4 +303,4 @@ if (!isset($_SESSION['recent_visit'])) {
}
$session->check_login();
$is = &$session;
?>
?>

0 comments on commit b5b82fc

Please sign in to comment.