Fix. Upload local MOH (Close #1714) (#1719)

This commit is contained in:
Alexey Melnichuk
2016-06-30 19:43:28 +03:00
committed by FusionPBX
parent 069ad5d580
commit b9cf2762f3

View File

@@ -78,7 +78,7 @@
}
}
unset($sql, $prep_statement, $result);
foreach ($mohs as $domain_uuid => &$moh) { ksort($moh); }
foreach ($mohs as &$moh) { ksort($moh); }
$moh_names['global'] = array_unique($moh_names['global']);
$moh_names['local'] = array_unique($moh_names['local']);
sort($moh_names['global'], SORT_NATURAL);