mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add check for file fax_active.php to exist before showing link to page (#6966)
Task #8 - File not found: fax_active.php
This commit is contained in:
@@ -291,7 +291,7 @@
|
||||
if (permission_exists('fax_log_view')) {
|
||||
echo " <a href='fax_logs.php?id=".urlencode($row['fax_uuid'])."'>".$text['label-log']."</a> ";
|
||||
}
|
||||
if (permission_exists('fax_active_view') && isset($_SESSION['fax']['send_mode']['text']) && $_SESSION['fax']['send_mode']['text'] == 'queue') {
|
||||
if (file_exists(__DIR__ . '/fax_active.php') && permission_exists('fax_active_view') && isset($_SESSION['fax']['send_mode']['text']) && $_SESSION['fax']['send_mode']['text'] == 'queue') {
|
||||
echo " <a href='fax_active.php?id=".urlencode($row['fax_uuid'])."'>".$text['label-active']."</a> ";
|
||||
}
|
||||
if (permission_exists('fax_queue_view')) {
|
||||
|
||||
Reference in New Issue
Block a user