diff --git a/app/ivr_menus/ivr_menu_edit.php b/app/ivr_menus/ivr_menu_edit.php
index b08dac1d17..eac1b70398 100644
--- a/app/ivr_menus/ivr_menu_edit.php
+++ b/app/ivr_menus/ivr_menu_edit.php
@@ -606,7 +606,7 @@
}
//recordings
$tmp_selected = false;
- if (count($recordings) > 0) {
+ if (is_array($recordings)) {
echo "\n";
}
//phrases
- if (count($phrases) > 0) {
+ if (is_array($phrases)) {
echo "