Use settings get method for list_row_edit_button

This commit is contained in:
FusionPBX
2025-04-14 09:36:05 -06:00
committed by GitHub
parent 71b952cdc6
commit de10ea2a4a
44 changed files with 44 additions and 44 deletions

View File

@@ -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'>&nbsp;</td>\n";
}