} // END - if
// Now search for the user
- $result = SQL_QUERY_ESC("SELECT `timestamp` FROM `{!_MYSQL_PREFIX!}_online` WHERE sid='%s' LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `timestamp` FROM `{!_MYSQL_PREFIX!}_online` WHERE `sid`='%s' LIMIT 1",
array(session_id()), __FUNCTION__, __LINE__);
// Entry found?
`timestamp`=UNIX_TIMESTAMP(),
`ip`='%s'
WHERE
- sid`='%s'
+ `sid`='%s'
LIMIT 1",
array(
getModule(),
array(getConfig('online_timeout')), __FUNCTION__, __LINE__);
}
-//
+// [EOF]
?>