2010-06-17 Sergio Martin <sergio.martin@artica.es>
* godmode/users/configure_user.php: Fixed the edition of an user after a fail creation for bug: 3017524 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2912 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7940fb1b4f
commit
5bc4144911
|
@ -1,3 +1,8 @@
|
|||
2010-06-17 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/users/configure_user.php: Fixed the edition
|
||||
of an user after a fail creation for bug: 3017524
|
||||
|
||||
2010-06-17 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/users/user.php
|
||||
|
|
|
@ -113,10 +113,18 @@ if ($create_user) {
|
|||
print_result_message ($result,
|
||||
__('Successfully created'),
|
||||
__('Could not be created'));
|
||||
$user_info = get_user_info ($id);
|
||||
|
||||
$password_new = '';
|
||||
$password_confirm = '';
|
||||
$new_user = false;
|
||||
|
||||
if($result) {
|
||||
$user_info = get_user_info ($id);
|
||||
$new_user = false;
|
||||
}
|
||||
else {
|
||||
$user_info = $values;
|
||||
$new_user = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue