mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
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:
parent
0853d84dcd
commit
c2ebd6ebdf
@ -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>
|
||||
|
||||
* include/functions_incidents.php, include/api.php,
|
||||
|
@ -49,7 +49,8 @@ function users_get_info ($order = "fullname", $info = "fullname") {
|
||||
* @return int sucess return
|
||||
*/
|
||||
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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -108,6 +108,8 @@ switch ($sortField) {
|
||||
break;
|
||||
}
|
||||
|
||||
$totalAgents = 0;
|
||||
|
||||
$agents = false;
|
||||
if ($searchAgents) {
|
||||
$userGroups = users_get_groups($config['id_user'], 'AR', false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user