2010-06-01 Sergio Martin <sergio.martin@artica.es>

* godmode/users/configure_user.php: Fixed the edition
	of an user after create it. For bug: 3006988



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-06-01 12:19:24 +00:00
parent 746a73b753
commit 5d324367a6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-06-01 Sergio Martin <sergio.martin@artica.es>
* godmode/users/configure_user.php: Fixed the edition
of an user after create it. For bug: 3006988
2010-06-01 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_agente.php: Fixed the

View File

@ -21,7 +21,7 @@ check_login ();
// This defines the working user. Beware with this, old code get confusses
// and operates with current logged user (dangerous).
$id = get_parameter ('id', $config['id_user']); // ID given as parameter
$id = get_parameter ('id', get_parameter ('id_user', '')); // ID given as parameter
$user_info = get_user_info ($id);
if ($user_info["language"] == ""){
@ -198,7 +198,7 @@ $table->style[0] = 'font-weight: bold; vertical-align: top';
$table->data[0][0] = __('User ID');
$table->data[0][1] = print_input_text_extended ('id_user', $id, '', '', 20, 60,
$view_mode, '', '', true);
!$new_user || $view_mode, '', '', true);
$table->data[1][0] = __('Full (display) name');
$table->data[1][1] = print_input_text_extended ('fullname', $user_info['fullname'],