2013-05-16 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_networkmap.php, include/functions_reporting.php,
	include/functions_users.php: cleaned source code style.
	
	* operation/search_agents.getdata.php: fixed notice messages PHP.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-05-16 10:16:16 +00:00
parent 0fd149893e
commit c999a888b9
5 changed files with 30 additions and 20 deletions

View File

@ -1,3 +1,10 @@
2013-05-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php, include/functions_reporting.php,
include/functions_users.php: cleaned source code style.
* operation/search_agents.getdata.php: fixed notice messages PHP.
2013-05-16 Miguel de Dios <miguel.dedios@artica.es> 2013-05-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_incidents.php, include/api.php, * include/functions_incidents.php, include/api.php,

View File

@ -49,7 +49,8 @@ function users_get_info ($order = "fullname", $info = "fullname") {
* @return int sucess return * @return int sucess return
*/ */
function users_disable ($user_id, $new_disabled_value) { function users_disable ($user_id, $new_disabled_value) {
return db_process_sql_update('tusuario', array('disabled' => $new_disabled_value), array('id_user' => $user_id)); return db_process_sql_update('tusuario',
array('disabled' => $new_disabled_value), array('id_user' => $user_id));
} }
/** /**

View File

@ -108,6 +108,8 @@ switch ($sortField) {
break; break;
} }
$totalAgents = 0;
$agents = false; $agents = false;
if ($searchAgents) { if ($searchAgents) {
$userGroups = users_get_groups($config['id_user'], 'AR', false); $userGroups = users_get_groups($config['id_user'], 'AR', false);