mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Feature: Records per page is now user specific and persists with logout/login sessions
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
|
||||
if(isset($_POST['change_records_per_page'])){
|
||||
|
||||
$_SESSION['records_per_page'] = intval($_POST['change_records_per_page']);
|
||||
$records_per_page = intval($_POST['change_records_per_page']);
|
||||
|
||||
mysqli_query($mysqli,"UPDATE user_settings SET user_config_records_per_page = $records_per_page WHERE user_id = $session_user_id");
|
||||
|
||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user