projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c45b182
)
Fix for online counter...
author
Roland Häder
<roland@mxchange.org>
Mon, 8 Sep 2008 18:42:49 +0000
(18:42 +0000)
committer
Roland Häder
<roland@mxchange.org>
Mon, 8 Sep 2008 18:42:49 +0000
(18:42 +0000)
inc/libs/surfbar_functions.php
patch
|
blob
|
history
diff --git
a/inc/libs/surfbar_functions.php
b/inc/libs/surfbar_functions.php
index 4c931566ad8da8f87688334143e513372de0896a..560c4897c2272e7fd41ef67a15c55f1445b352db 100644
(file)
--- a/
inc/libs/surfbar_functions.php
+++ b/
inc/libs/surfbar_functions.php
@@
-588,7
+588,7
@@
function SURFBAR_DETERMINE_TOTAL_ONLINE () {
global $_CONFIG;
// Count all users in surfbar modue and return the value
global $_CONFIG;
// Count all users in surfbar modue and return the value
- $result = SQL_QUERY_ESC("SELECT COUNT(id) FROM "._MYSQL_PREFIX."_surfbar_stats WHERE (UNIX_TIMESTAMP() - UNIX_TIMESTAMP(last_online))
>
= %s",
+ $result = SQL_QUERY_ESC("SELECT COUNT(id) FROM "._MYSQL_PREFIX."_surfbar_stats WHERE (UNIX_TIMESTAMP() - UNIX_TIMESTAMP(last_online))
<
= %s",
array($_CONFIG['online_timeout']), __FILE__, __LINE__);
// Fetch count
array($_CONFIG['online_timeout']), __FILE__, __LINE__);
// Fetch count