Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Warnings #6768

Merged
merged 3 commits into from Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 24 additions & 0 deletions app/call_block/app_languages.php
Expand Up @@ -718,6 +718,30 @@
$text['label-hold']['ja-jp'] = "所有";
$text['label-hold']['ko-kr'] = "잡고 있다";

$text['label-missed']['en-us'] = "Missed";
$text['label-missed']['en-gb'] = "Missed";
$text['label-missed']['ar-eg'] = "مٌفتَقد";
$text['label-missed']['de-at'] = "Verpasst";
$text['label-missed']['de-ch'] = "Verpasst";
$text['label-missed']['de-de'] = "Verpasst";
$text['label-missed']['es-cl'] = "Perdidas";
$text['label-missed']['es-mx'] = "Perdidas";
$text['label-missed']['fr-ca'] = "Perdus";
$text['label-missed']['fr-fr'] = "Perdus";
$text['label-missed']['he-il'] = "החמצה";
$text['label-missed']['it-it'] = "Perse";
$text['label-missed']['nl-nl'] = "gemist";
$text['label-missed']['pl-pl'] = "Nie odebrany";
$text['label-missed']['pt-br'] = "Perdidas";
$text['label-missed']['pt-pt'] = "Perdidas";
$text['label-missed']['ro-ro'] = "ratat";
$text['label-missed']['ru-ru'] = "Пропущено";
$text['label-missed']['sv-se'] = "Missade";
$text['label-missed']['uk-ua'] = "Пропущений";
$text['label-missed']['zh-cn'] = "逃した";
$text['label-missed']['ja-jp'] = "逃した";
$text['label-missed']['ko-kr'] = "놓친";

$text['label-voicemail']['en-us'] = "Voicemail";
$text['label-voicemail']['en-gb'] = "Voicemail";
$text['label-voicemail']['ar-eg'] = "البريد الصوتي";
Expand Down
1 change: 1 addition & 0 deletions app/devices/device_edit.php
Expand Up @@ -42,6 +42,7 @@
//set the defaults
$device_model = '';
$device_firmware_version = '';
$device_template ='';

//include the device class
require_once "app/devices/resources/classes/device.php";
Expand Down
11 changes: 9 additions & 2 deletions app/dialplans/dialplan_edit.php
Expand Up @@ -2,7 +2,7 @@
/*
FusionPBX
Version: MPL 1.1

javascript:void(0);
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -52,8 +52,15 @@
$language = new text;
$text = $language->get();

//set the defaults
$dialplan_uuid = '';
$dialplan_name = '';
$dialplan_number = '';
$hostname = '';
$dialplan_description = '';

//set the action as an add or an update
if (is_uuid($_GET["id"])) {
if (!empty($_GET["id"]) && (is_uuid($_GET["id"]))) {
$action = "update";
$dialplan_uuid = $_GET["id"];
}
Expand Down