mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-30 12:39:19 +00:00
Use settings get method for list_row_edit_button
This commit is contained in:
@@ -296,7 +296,7 @@
|
||||
echo " <th>" . $text['label-dnd'] . "</th>\n";
|
||||
}
|
||||
echo " <th class='" . ($is_included ? 'hide-md-dn' : 'hide-sm-dn') . "'>" . $text['label-description'] . "</th>\n";
|
||||
$list_row_edit_button = filter_var($_SESSION['theme']['list_row_edit_button']['boolean'] ?? false, FILTER_VALIDATE_BOOL);
|
||||
$list_row_edit_button = $settings->get('theme', 'list_row_edit_button', false);
|
||||
if ($list_row_edit_button) {
|
||||
echo " <td class='action-button'> </td>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user