From 035e0ac93475df8d35e22f83f0eefd8e5eec807b Mon Sep 17 00:00:00 2001
From: chansizzle <14916599+chansizzle@users.noreply.github.com>
Date: Fri, 13 Sep 2019 14:30:05 -0600
Subject: [PATCH] Update dialplans.php (#4606)
removing potential for Warning: sizeof(): Parameter must be an array or an object that implements Countable
---
app/dialplans/dialplans.php | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/app/dialplans/dialplans.php b/app/dialplans/dialplans.php
index b58c3855dd..6fb8dfbcb5 100644
--- a/app/dialplans/dialplans.php
+++ b/app/dialplans/dialplans.php
@@ -446,17 +446,18 @@
}
echo "
";
- if (sizeof($dialplan_ids) > 0) {
- echo "\n";
}
- echo " }\n";
- echo "\n";
}
-
//include the footer
require_once "resources/footer.php";