Update domain_settings.php (#4662)

This commit is contained in:
chansizzle 2019-09-26 09:32:12 -06:00 committed by FusionPBX
parent d478f94bd2
commit 516d98a4fc
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2018
Portions created by the Initial Developer are Copyright (C) 2008-2019
the Initial Developer. All Rights Reserved.
Contributor(s):
@ -402,7 +402,7 @@
echo "<br /><br />";
// check or uncheck all category checkboxes
if (sizeof($subcat_ids) > 0) {
if (isset($subcat_ids) && sizeof($subcat_ids) > 0) {
echo "<script>\n";
echo " function check(what, category) {\n";
foreach ($subcat_ids as $domain_setting_category => $checkbox_ids) {