-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid inserting new inbound route when editing one with + sign and ch…
…anging the did number
- Loading branch information
Nicolás
committed
Nov 4, 2024
1 parent
b921dc5
commit c2d693f
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,13 @@ | |
//Copyright (C) 2004 Coalescent Systems Inc. ([email protected]) | ||
|
||
if (!defined('ISSABELPBX_IS_AUTH')) { die('No direct script access allowed'); } | ||
|
||
if(isset($_GET['extdisplay'])) { | ||
$_REQUEST['extdisplay']=$_GET['extdisplay']; | ||
} | ||
|
||
$action = isset($_REQUEST['action'])?$_REQUEST['action']:''; | ||
$extdisplay= htmlspecialchars(isset($_REQUEST['extdisplay'])?$_REQUEST['extdisplay']:''); | ||
$extdisplay = isset($_GET['extdisplay'])?urldecode($_GET['extdisplay']):''; | ||
$old_extdisplay = $extdisplay; | ||
$dispnum = 'did'; //used for switch on config.php | ||
$account = isset($_REQUEST['account'])?$_REQUEST['account']:''; | ||
|
@@ -29,7 +34,7 @@ | |
|
||
if (isset($_REQUEST['extension']) && isset($_REQUEST['cidnum'])) { | ||
$extdisplay = $_REQUEST['extension']."/".$_REQUEST['cidnum']; | ||
$old_extdisplay = $_REQUEST['extension']; | ||
//$old_extdisplay = $_REQUEST['extension']; | ||
} | ||
|
||
|
||
|