do {
if (!isset($cookie['sess'])
- || (($user = $this->get_user($cookie['sess'], $idx)) == FALSE));
+ || (($user = $this->get_user($cookie['sess'], $idx)) == FALSE)) {
// || (($user = $this->get_user($cookie['sess'], $idx)) == FALSE)
// || $user->page_id != $get['page_id']) {
-
$content = "";
// if ($user->page_id != $get['page_id']) {
// $content .= "OLD_PAGE";
return TRUE;
break;
- }
- $this->sess_cur_set($user->sess);
+ }
+ $this->sess_cur_set($user->sess);
// close a previous opened index_read_ifra socket, if exists
if (($prev = $user->rd_socket_get()) != NULL) {
$s_a_p->socks_unset($user->rd_socket_get());