diff options
author | mcrane <mctch@yahoo.com> | 2009-04-30 15:43:00 -0600 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2009-04-30 15:43:00 -0600 |
commit | 7d9f813cf6164487e7668efc6e3db89aabb9e771 (patch) | |
tree | 346e549b96c15ebcc8a0f19d428d0c64861d3512 /config/freeswitch/freeswitch_public_includes.tmp | |
parent | ab4946e7d593997df7baea4cd5ccc1ba2318d23a (diff) | |
download | pfsense-packages-7d9f813cf6164487e7668efc6e3db89aabb9e771.tar.gz pfsense-packages-7d9f813cf6164487e7668efc6e3db89aabb9e771.tar.bz2 pfsense-packages-7d9f813cf6164487e7668efc6e3db89aabb9e771.zip |
FreeSWITCH fix path to delete enum because its now in the directly in the dialplan. More changes to usort so no errors occur when the array is empty.
Diffstat (limited to 'config/freeswitch/freeswitch_public_includes.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_public_includes.tmp | 3 |
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) { |