remove formtoken from the query as it is unused, fixes #1378

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-02-07 15:43:17 +01:00
parent 3f7819f6bb
commit 031a80cd88

View File

@@ -219,7 +219,7 @@ if (isset($s)
) {
$upd_stmt = Database::prepare("
UPDATE `" . TABLE_PANEL_SESSIONS . "` SET
`lastactivity` = :lastactive, `formtoken` = NULL
`lastactivity` = :lastactive
WHERE `hash` = :hash AND `adminsession` = :adminsession
");
$upd_data = array(