Change. `Send` button redirect to `Active` page.
This commit is contained in:
parent
0805ad4c18
commit
df8da0f5ce
|
|
@ -768,7 +768,12 @@ function fax_split_dtmf(&$fax_number, &$fax_dtmf){
|
||||||
if (!$included) {
|
if (!$included) {
|
||||||
//redirect the browser
|
//redirect the browser
|
||||||
$_SESSION["message"] = $response;
|
$_SESSION["message"] = $response;
|
||||||
header("Location: fax_files.php?id=".$fax_uuid."&box=sent");
|
if (permission_exists('fax_active_view')) {
|
||||||
|
header("Location: fax_active.php?id=".$fax_uuid);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
header("Location: fax_files.php?id=".$fax_uuid."&box=sent");
|
||||||
|
}
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue