Update voicemail_messages.php (#4763)
This commit is contained in:
@@ -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";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user