Update voicemail_messages.php (#4763)

This commit is contained in:
chansizzle
2019-10-09 12:11:53 -06:00
committed by FusionPBX
parent f99fd1db9c
commit 3f2dc9b185

View File

@@ -224,7 +224,7 @@
}
//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 " function check(what, voicemail_id) {\n";
foreach ($vm_msg_ids as $voicemail_id => $checkbox_ids) {
@@ -256,4 +256,4 @@
//include the footer
require_once "resources/footer.php";
?>
?>