while i already fix both
mysql orangescrum;
DELETE FROM os_session_logs; /* <- ADD THESE COMMENT TAGS
$this->LoadModel('OsSessionLog'); $existing_ses = $this->OsSessionLog->getUserDetls($t_uid); if ($existing_ses) { $t_sql = 'SELECT password FROM users WHERE id=' . $t_uid . ' limit 1'; $rec_user_login = $this->User->query($t_sql); if ($rec_user_login[0]['users']['password'] != $existing_ses['OsSessionLog']['user_agent'][$_COOKIE['user_uniq_agent']]) { $this->temp_logout(); } }
*/ <-- ADD THESE COMMENT TAGS