Update voicemail_messages.php (#4763)

This commit is contained in:
chansizzle
2019-10-09 11:11:53 -07:00
committed by FusionPBX
parent f99fd1db9c
commit 3f2dc9b185
+2 -2
View File
@@ -224,7 +224,7 @@
} }
//check or uncheck all voicemail checkboxes //check or uncheck all voicemail checkboxes
if (sizeof($vm_msg_ids) > 0) { if (is_array($vm_msg_ids) && sizeof($vm_msg_ids) > 0) {
echo "<script>\n"; echo "<script>\n";
echo " function check(what, voicemail_id) {\n"; echo " function check(what, voicemail_id) {\n";
foreach ($vm_msg_ids as $voicemail_id => $checkbox_ids) { foreach ($vm_msg_ids as $voicemail_id => $checkbox_ids) {
@@ -256,4 +256,4 @@
//include the footer //include the footer
require_once "resources/footer.php"; require_once "resources/footer.php";
?> ?>