fixed minor error recorn view

This commit is contained in:
daniel 2018-02-21 12:23:52 +01:00
parent b4416c3c8a
commit 41e55aa80f

View File

@ -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 {