X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Flibs%2Fonline_functions.php;h=85c04334cd45cec88542e884df44415176564c44;hb=62d8f6d89c35bebe15b8f716a5629f14d95f3078;hp=ec0dffee1fc24f135b9b8c0d9608275d24f1d796;hpb=6b84d2daad41cd28b0576f212bcee406972cf424;p=mailer.git diff --git a/inc/libs/online_functions.php b/inc/libs/online_functions.php index ec0dffee1f..85c04334cd 100644 --- a/inc/libs/online_functions.php +++ b/inc/libs/online_functions.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -97,7 +95,7 @@ LIMIT 1", getModule(), $action, getWhat(), - $userid, + makeDatabaseUserId($userid), makeDatabaseUserId(determineReferalId()), $isMember, $isAdmin, @@ -106,12 +104,12 @@ LIMIT 1", ), __FUNCTION__, __LINE__); } else { // No entry does exists so we simply add it! - 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')", + 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(), $action, getWhat(), - $userid, + makeDatabaseUserId($userid), makeDatabaseUserId(determineReferalId()), $isMember, $isAdmin,