Commit 66869c6e317f593512853810aca1007b0c3f8ac4
1 parent
fe1c3b4e
WSA-42
"SQL update statement on active_sessions table has typo" Fixed. typo on lastused field in active_sessions. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7159 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
ktapi/KTAPISession.inc.php
| @@ -304,7 +304,7 @@ class KTAPI_UserSession extends KTAPI_Session | @@ -304,7 +304,7 @@ class KTAPI_UserSession extends KTAPI_Session | ||
| 304 | 304 | ||
| 305 | 305 | ||
| 306 | $now=date('Y-m-d H:i:s'); | 306 | $now=date('Y-m-d H:i:s'); |
| 307 | - $sql = "UPDATE active_sessions SET last_used='$now' WHERE id=$sessionid"; | 307 | + $sql = "UPDATE active_sessions SET lastused='$now' WHERE id=$sessionid"; |
| 308 | DBUtil::runQuery($sql); | 308 | DBUtil::runQuery($sql); |
| 309 | 309 | ||
| 310 | 310 |