mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-03 18:33:49 +00:00
Fix extension writing to xml files when number alias is not used
This commit is contained in:
@@ -102,12 +102,12 @@
|
||||
$text['label-north-america']['fr-fr'] = "Amérique du Nord";
|
||||
|
||||
$text['label-north-america-intl']['en-us'] = "North America International";
|
||||
$text['label-north-america-intl']['es-cl'] = "America del Norte, Internacional";
|
||||
$text['label-north-america-intl']['es-cl'] = "America del Norte Internacional";
|
||||
$text['label-north-america-intl']['pt-pt'] = "América do Norte Internacional";
|
||||
$text['label-north-america-intl']['fr-fr'] = "Amérique du Nord International";
|
||||
|
||||
$text['label-europe-intl']['en-us'] = "Europe International";
|
||||
$text['label-europe-intl']['es-cl'] = "Europa, Internacional";
|
||||
$text['label-europe-intl']['es-cl'] = "Europa Internacional";
|
||||
$text['label-europe-intl']['pt-pt'] = "Europa Internacional";
|
||||
$text['label-europe-intl']['fr-fr'] = "Europe International";
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
//write the xml files
|
||||
$sql = "SELECT * FROM v_extensions AS e, v_voicemails AS v ";
|
||||
$sql .= "WHERE e.domain_uuid = '$domain_uuid' ";
|
||||
$sql .= "AND e.number_alias = v.voicemail_id ";
|
||||
$sql .= "AND (e.extension = v.voicemail_id or e.number_alias = v.voicemail_id) ";
|
||||
$sql .= "ORDER BY e.call_group ASC ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
|
||||
Reference in New Issue
Block a user