GToronto
Starting Member
4 Posts |
Posted - 24 May 2001 : 16:31:19
|
Hi all, I don't know if you saw this small bug, but the M_LAST_IP is not updated, so here's the fix to put after the line 640
************************************** if strIPLogging <> "0" then strSql = strSql & ", M_LAST_IP = '" & Request.ServerVariables("REMOTE_ADDR") & "'" end if **************************************
It should look like that
'## Forum_SQL - Do DB Update strSql = "UPDATE " & strMemberTablePrefix & "MEMBERS " strSql = strSql & " SET M_LASTHEREDATE = '" & DateToStr(strForumTimeAdjust) & "'" if strIPLogging <> "0" then strSql = strSql & ", M_LAST_IP = '" & Request.ServerVariables("REMOTE_ADDR") & "'" end if strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS." & strDBNTSQLName & " = '" & UserName & "' "
|
|