Email Queue use settings class to get the save_response as boolean

This commit is contained in:
FusionPBX
2025-05-06 16:35:40 -06:00
committed by GitHub
parent f36995bb6c
commit 991d04e534
2 changed files with 4 additions and 4 deletions

View File

@@ -518,7 +518,7 @@
echo "</td>\n";
echo "</tr>\n";
if (filter_var($_SESSION['email_queue']['save_response']['boolean'] ?? false, FILTER_VALIDATE_BOOL)) {
if ($settings->get('Emai', 'save_response')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-email_response']."\n";
@@ -576,4 +576,4 @@
//include the footer
require_once "resources/footer.php";
?>
?>