diff options
Diffstat (limited to 'config/freeswitch/freeswitch_extensions.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_extensions.tmp | 2 |
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) { |