Merge branch '1948-Se_queda_en_blanco_la_recon_view' into 'develop'

fixed minor error recorn view

See merge request artica/pandorafms!1310
This commit is contained in:
vgilc 2018-02-21 12:42:18 +01:00
commit 09b4d61ed6
1 changed files with 3 additions and 0 deletions

View File

@ -24,10 +24,13 @@ if (! check_acl ($config['id_user'], 0, "PM")) {
require ("general/noaccess.php");
return;
}
//Get all recon servers
$servers = db_get_all_rows_sql('SELECT * FROM tserver WHERE server_type = 3');
if ($servers === false) {
$servers = array ();
ui_print_page_header (__('Recon View'), "images/op_recon.png", false, "", false);
ui_print_error_message(__('Recon Server is disabled'));
return;
}
else {