Fix bug in output of visitor's list

This commit is contained in:
Fedor A. Fetisov 2012-01-24 16:42:15 +04:00
parent 0b32b6a0d6
commit 3864f97270

View File

@ -235,7 +235,7 @@ function print_visitors()
$output = array(); $output = array();
$query = "SELECT visitorid, userid, username, unix_timestamp(firsttime), unix_timestamp(lasttime), " . $query = "SELECT visitorid, userid, username, unix_timestamp(firsttime), unix_timestamp(lasttime), " .
"entry, path, details, invited, unix_timestamp(invitationtime), invitedby, invitations, chats " . "entry, details, invited, unix_timestamp(invitationtime), invitedby, invitations, chats " .
"FROM ${mysqlprefix}chatsitevisitor " . "FROM ${mysqlprefix}chatsitevisitor " .
"WHERE threadid IS NULL " . "WHERE threadid IS NULL " .
"ORDER BY invited, lasttime DESC, invitations"; "ORDER BY invited, lasttime DESC, invitations";