]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Several rewrites/fixes which I have done yesterday but not commited, mxchange_die...
[mailer.git] / inc / filters.php
index d0c4398d6e1a59ff10a69e6dacbc9aec030e9f50..80e45043c371f3cf75eb6e0a291d9d11a58ba38a 100644 (file)
@@ -485,7 +485,7 @@ function FILTER_UPDATE_LOGIN_DATA () {
                } // END - if
 
                // Update last module / online time
-               SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET last_module='%s', last_online=UNIX_TIMESTAMP(), REMOTE_ADDR='%s' WHERE userid=%s LIMIT 1",
+               SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET `last_module`='%s', last_online=UNIX_TIMESTAMP(), REMOTE_ADDR='%s' WHERE userid=%s LIMIT 1",
                        array($GLOBALS['what'], GET_REMOTE_ADDR(), getUserId()), __FUNCTION__, __LINE__);
        }  else {
                // Destroy session, we cannot update!