Test if the id is a uuid if it is then set fax_uuid value.
This commit is contained in:
parent
b247696e8f
commit
83ed3602fa
|
|
@ -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-2012
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2015
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
|
@ -46,7 +46,9 @@ else {
|
|||
|
||||
//get fax extension
|
||||
if (strlen($_GET['id']) > 0) {
|
||||
$fax_uuid = check_str($_GET["id"]);
|
||||
if (is_uuid($_GET["id"])) {
|
||||
$fax_uuid = $_GET["id"];
|
||||
}
|
||||
if (if_group("superadmin") || if_group("admin")) {
|
||||
//show all fax extensions
|
||||
$sql = "select * from v_fax ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue