Use the settings get method for the buttons

This commit is contained in:
FusionPBX
2025-04-14 10:36:21 -06:00
committed by GitHub
parent de10ea2a4a
commit c3952028b1
177 changed files with 771 additions and 771 deletions

View File

@@ -98,7 +98,7 @@
echo " <td class='description overflow hide-md-dn'>".escape($row['email_description'])."&nbsp;</td>\n";
if (permission_exists('contact_email_edit') && $list_row_edit_button) {
echo " <td class='action-button'>\n";
echo button::create(['type'=>'button','title'=>$text['button-edit'],'icon'=>$_SESSION['theme']['button_icon_edit'],'link'=>$list_row_url]);
echo button::create(['type'=>'button','title'=>$text['button-edit'],'icon'=>$settings->get('theme', 'button_icon_edit'),'link'=>$list_row_url]);
echo " </td>\n";
}
echo "</tr>\n";