X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fonline_functions.php;h=ec0dffee1fc24f135b9b8c0d9608275d24f1d796;hb=ad85ea5a3690e65e3509d4e4e8c63083b2b71b0c;hp=73ff9147fb78be9835cf8cc463710a52af4b882e;hpb=30ae22f62ae87c53a56baf0d134569ba91011111;p=mailer.git diff --git a/inc/libs/online_functions.php b/inc/libs/online_functions.php index 73ff9147fb..ec0dffee1f 100644 --- a/inc/libs/online_functions.php +++ b/inc/libs/online_functions.php @@ -57,6 +57,7 @@ function FILTER_UPDATE_ONLINE_LIST () { $userid = '0'; $isMember = 'N'; $isAdmin = 'N'; + $action = getActionFromModuleWhat(getModule(), getWhat()); // Valid userid? if (isMember()) { @@ -94,7 +95,7 @@ WHERE LIMIT 1", array( getModule(), - getAction(), + $action, getWhat(), $userid, makeDatabaseUserId(determineReferalId()), @@ -108,7 +109,7 @@ LIMIT 1", SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_online` (`module`, `action`, `what`, `userid`, `refid`, `is_member`, `is_admin`, `timestamp`, `sid`, `ip`) VALUES ('%s','%s','%s', %s, '%s', '%s','%s', UNIX_TIMESTAMP(), '%s','%s')", array( getModule(), - getAction(), + $action, getWhat(), $userid, makeDatabaseUserId(determineReferalId()),