Minor CDR search bug fixes (#7787)
* Minor CDR search bug fixes * Update xml_cdr_search.php * Update xml_cdr_inc.php * Update xml_cdr.php * Update template.php
This commit is contained in:
@@ -394,11 +394,11 @@
|
||||
echo " </div>\n";
|
||||
echo " <div class='field'>\n";
|
||||
echo " <select class='formfld' name='extension_uuids[]' id='extension_uuid'>\n";
|
||||
echo " <option value=''></option>";
|
||||
echo " <option value=''></option>\n";
|
||||
if (is_array($extensions) && @sizeof($extensions) != 0) {
|
||||
foreach ($extensions as $row) {
|
||||
$selected = ($row['extension_uuid'] == $extension_uuid[0]) ? "selected" : null;
|
||||
echo " <option value='".escape($row['extension_uuid'])."' ".escape($selected).">".((is_numeric($row['extension'])) ? escape($row['extension']) : escape($row['number_alias'])." (".escape($row['extension']).")")."</option>";
|
||||
$selected = ($row['extension_uuid'] == $extension_uuids[0]) ? "selected" : null;
|
||||
echo " <option value='".escape($row['extension_uuid'])."' ".escape($selected).">".((is_numeric($row['extension'])) ? escape($row['extension']) : escape($row['number_alias'])." (".escape($row['extension']).")")."</option>\n";
|
||||
}
|
||||
}
|
||||
echo " </select>\n";
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2025
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2026
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -108,7 +108,7 @@
|
||||
$caller_id_name = $_REQUEST["caller_id_name"] ?? '';
|
||||
$caller_id_number = $_REQUEST["caller_id_number"] ?? '';
|
||||
$caller_destination = $_REQUEST["caller_destination"] ?? '';
|
||||
$extension_uuids = $_REQUEST["extension_uuids"] ?? '';
|
||||
$extension_uuids = array_filter($_REQUEST["extension_uuids"]) ?? [];
|
||||
$destination_number = $_REQUEST["destination_number"] ?? '';
|
||||
$context = $_REQUEST["context"] ?? '';
|
||||
$start_stamp_begin = $_REQUEST["start_stamp_begin"] ?? '';
|
||||
|
||||
@@ -201,7 +201,6 @@
|
||||
echo " </div>\n";
|
||||
echo " </div>\n";
|
||||
echo " </div>\n";
|
||||
echo " <input type='text' class='formfld' style='display: none;' name='caller_id_numbers[]' id='caller_id_number_0' value='".escape($caller_id_number)."'>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>";
|
||||
|
||||
Reference in New Issue
Block a user