mirror of
https://github.com/itflow-org/itflow
synced 2026-11-11 15:07:24 +00:00
18 lines
410 B
PHP
18 lines
410 B
PHP
<?php
|
|
|
|
/*
|
|
* ITFlow - GET/POST request handler for misc (functionality that doesn't quite fit elsewhere)
|
|
*/
|
|
|
|
// Records to show per page
|
|
|
|
if(isset($_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");
|
|
|
|
redirect();
|
|
|
|
}
|