Dashboard - Voicemails: Updates for PHP 8.1
This commit is contained in:
parent
198ee84d9a
commit
8f50a96d51
|
|
@ -152,6 +152,7 @@
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$x = 0;
|
$x = 0;
|
||||||
|
$sql_where = '';
|
||||||
foreach($voicemail_ids as $voicemail_id) {
|
foreach($voicemail_ids as $voicemail_id) {
|
||||||
$sql_where_or[] = "voicemail_id = :voicemail_id_".$x;
|
$sql_where_or[] = "voicemail_id = :voicemail_id_".$x;
|
||||||
$parameters['voicemail_id_'.$x] = $voicemail_id;
|
$parameters['voicemail_id_'.$x] = $voicemail_id;
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,8 @@
|
||||||
$vm = new voicemail;
|
$vm = new voicemail;
|
||||||
$vm->db = $db;
|
$vm->db = $db;
|
||||||
$vm->domain_uuid = $_SESSION['domain_uuid'];
|
$vm->domain_uuid = $_SESSION['domain_uuid'];
|
||||||
$vm->order_by = $order_by;
|
$vm->order_by = $order_by ?? null;
|
||||||
$vm->order = $order;
|
$vm->order = $order ?? null;
|
||||||
$voicemails = $vm->messages();
|
$voicemails = $vm->messages();
|
||||||
|
|
||||||
//sum total and new
|
//sum total and new
|
||||||
|
|
@ -134,7 +134,7 @@
|
||||||
echo "<br />".$text['label-no_voicemail_assigned'];
|
echo "<br />".$text['label-no_voicemail_assigned'];
|
||||||
}
|
}
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
$n++;
|
//$n++;
|
||||||
|
|
||||||
echo "<span class='hud_expander' onclick=\"$('#hud_voicemail_details').slideToggle('fast');\"><span class='fas fa-ellipsis-h'></span></span>";
|
echo "<span class='hud_expander' onclick=\"$('#hud_voicemail_details').slideToggle('fast');\"><span class='fas fa-ellipsis-h'></span></span>";
|
||||||
echo "</div>\n";
|
echo "</div>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue