mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
fixed minor error recorn view
This commit is contained in:
parent
b4416c3c8a
commit
41e55aa80f
@ -24,10 +24,13 @@ if (! check_acl ($config['id_user'], 0, "PM")) {
|
|||||||
require ("general/noaccess.php");
|
require ("general/noaccess.php");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Get all recon servers
|
//Get all recon servers
|
||||||
$servers = db_get_all_rows_sql('SELECT * FROM tserver WHERE server_type = 3');
|
$servers = db_get_all_rows_sql('SELECT * FROM tserver WHERE server_type = 3');
|
||||||
if ($servers === false) {
|
if ($servers === false) {
|
||||||
$servers = array ();
|
$servers = array ();
|
||||||
|
ui_print_page_header (__('Recon View'), "images/op_recon.png", false, "", false);
|
||||||
|
ui_print_error_message(__('Recon Server is disabled'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user