Use the settings class
This commit is contained in:
parent
d9c92c00e9
commit
8805c2f1c8
|
|
@ -44,8 +44,11 @@
|
|||
//define variable
|
||||
$search = '';
|
||||
|
||||
//add the settings object
|
||||
$settings = new settings(["domain_uuid" => $_SESSION['domain_uuid'], "user_uuid" => $_SESSION['user_uuid']]);
|
||||
|
||||
//set from session variables
|
||||
$list_row_edit_button = !empty($_SESSION['theme']['list_row_edit_button']['boolean']) ? $_SESSION['theme']['list_row_edit_button']['boolean'] : 'false';
|
||||
$list_row_edit_button = $settings->get('theme', 'list_row_edit_button', 'false');
|
||||
|
||||
//get the http post data
|
||||
if (!empty($_POST['access_controls'])) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue