aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_extensions.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-04-30 15:43:00 -0600
committermcrane <mctch@yahoo.com>2009-04-30 15:43:00 -0600
commit7d9f813cf6164487e7668efc6e3db89aabb9e771 (patch)
tree346e549b96c15ebcc8a0f19d428d0c64861d3512 /config/freeswitch/freeswitch_extensions.tmp
parentab4946e7d593997df7baea4cd5ccc1ba2318d23a (diff)
downloadpfsense-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_extensions.tmp')
-rw-r--r--config/freeswitch/freeswitch_extensions.tmp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/freeswitch/freeswitch_extensions.tmp b/config/freeswitch/freeswitch_extensions.tmp
index df9f398f..ea0aec84 100644
--- a/config/freeswitch/freeswitch_extensions.tmp
+++ b/config/freeswitch/freeswitch_extensions.tmp
@@ -146,7 +146,7 @@ if ($config_change == 1) {
return 0;
}
}
- usort($a_extensions, "cmp_number");
+ if (count($a_extensions) > 0) { usort($a_extensions, "cmp_number"); }
$i = 0;
if (count($a_extensions) > 0) {