Dashboard - Voicemails: Updates for PHP 8.1

This commit is contained in:
fusionate
2023-05-10 22:27:19 +00:00
parent 198ee84d9a
commit 8f50a96d51
2 changed files with 5 additions and 4 deletions
@@ -34,8 +34,8 @@
$vm = new voicemail;
$vm->db = $db;
$vm->domain_uuid = $_SESSION['domain_uuid'];
$vm->order_by = $order_by;
$vm->order = $order;
$vm->order_by = $order_by ?? null;
$vm->order = $order ?? null;
$voicemails = $vm->messages();
//sum total and new
@@ -134,9 +134,9 @@
echo "<br />".$text['label-no_voicemail_assigned'];
}
echo "</div>";
$n++;
//$n++;
echo "<span class='hud_expander' onclick=\"$('#hud_voicemail_details').slideToggle('fast');\"><span class='fas fa-ellipsis-h'></span></span>";
echo "</div>\n";
?>
?>