Skip to content

Commit ae43755

Browse files
committed
Update from version 3.x to version 4.1 not possible #1271
1 parent b26f327 commit ae43755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adm_program/system/classes/Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public function regenerateId()
351351
public function reloadAllSessions()
352352
{
353353
$sql = 'UPDATE ' . TBL_SESSIONS . ' SET ses_reload = true ';
354-
$this->db->queryPrepared($sql);
354+
$this->db->queryPrepared($sql, array(), false); // don't show error because column ses_reload doesn't exist within update from version 3.x
355355
}
356356

357357
/**
@@ -363,7 +363,7 @@ public function reload(int $userId)
363363
{
364364
$sql = 'UPDATE ' . TBL_SESSIONS . ' SET ses_reload = true
365365
WHERE ses_usr_id = ? -- $userId';
366-
$this->db->queryPrepared($sql, array($userId));
366+
$this->db->queryPrepared($sql, array($userId), false); // don't show error because column ses_reload doesn't exist within update from version 3.x
367367
}
368368

369369
/**

0 commit comments

Comments
 (0)