implemented mass creation via csv, bug fixes
This commit is contained in:
+3
-1
@@ -20,5 +20,7 @@ if ($_SESSION['initialized'] && isset($_POST['theme'])) {
|
||||
unset($_POST['theme']);
|
||||
}
|
||||
|
||||
if (isset($_COOKIE['user_id']))
|
||||
if (isset($_COOKIE['user_id'])) {
|
||||
exec_statement('UPDATE user SET is_active = true WHERE user_id = ' . $_COOKIE['user_id'] . ';', 1);
|
||||
exec_statement('UPDATE user SET last_active = CURRENT_TIMESTAMP WHERE user_id = ' . $_COOKIE['user_id'] . ';', 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user