projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73f2bb4
)
Updates session user after xnet pofile edition.
author
Stéphane Jacob
<sj@m4x.org>
Sun, 20 Mar 2011 20:03:28 +0000
(21:03 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Sun, 20 Mar 2011 23:06:46 +0000
(
00:06
+0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/xnet.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/xnet.php
b/modules/xnet.php
index
6e54d38
..
818a9bd
100644
(file)
--- a/
modules/xnet.php
+++ b/
modules/xnet.php
@@
-308,6
+308,8
@@
class XnetModule extends PLModule
Post::t('full_name'), Post::t('directory_name'), Post::t('display_name'),
(Post::t('sex') == 'male') ? 'male' : 'female', Post::t('email'), $user->id());
if (XDB::affectedRows()) {
+ $user = User::getWithUID($user->id());
+ S::set('user', $user);
$page->trigSuccess('Données mises à jour.');
}
}