2013-06-13 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/agent_manager.php: fixed the show server as none
	when this server is not exist.
	
	Fixes: #2264
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-06-13 11:41:56 +00:00
parent 881cc6340d
commit 1d3cecf3b7
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2013-06-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fixed the show server as none
when this server is not exist.
Fixes: #2264
MERGED FROM THE BRANCH PANDORA_4.0
2013-06-12 Miguel de Dios <miguel.dedios@artica.es>
* extensions/insert_data.php: fixed the label of notice about the

View File

@ -215,6 +215,10 @@ $table->data[5][1] .= ui_print_os_icon ($id_os, false, true);
$table->data[5][1] .= '</span>';
// Network server
$servers = servers_get_names();
if (!array_key_exists($server_name, $servers)) {
$server_Name = 0; //Set the agent have not server.
}
$table->data[6][0] = __('Server');
if ($new_agent) {
//Set first server by default.