aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_public_includes.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'config/freeswitch/freeswitch_public_includes.tmp')
-rw-r--r--config/freeswitch/freeswitch_public_includes.tmp3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/freeswitch/freeswitch_public_includes.tmp b/config/freeswitch/freeswitch_public_includes.tmp
index 401e3f30..5157ebbd 100644
--- a/config/freeswitch/freeswitch_public_includes.tmp
+++ b/config/freeswitch/freeswitch_public_includes.tmp
@@ -210,7 +210,6 @@ include("head.inc");
}
//order the array
- //order the array
function cmp_number($a, $b) {
if ($a["order"] > $b["order"]) {
return 1;
@@ -219,7 +218,7 @@ include("head.inc");
return 0;
}
}
- usort($a_public_includes, "cmp_number");
+ if (count($a_public_includes) > 0) { usort($a_public_includes, "cmp_number"); }
$i = 0;
if (count($a_public_includes) > 0) {