X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fregister%2Fregister.inc.php;h=1ccb04176fadf37b904a78cb177b3c928a25a6bb;hb=fe5ccad978199cfbe71c583280b999769a27c9b2;hp=9393bd67d0b630feeffe079d2dba615ff5926902;hpb=c4f03937349bddfad25990239a825f8161615260;p=platal.git diff --git a/modules/register/register.inc.php b/modules/register/register.inc.php index 9393bd6..1ccb041 100644 --- a/modules/register/register.inc.php +++ b/modules/register/register.inc.php @@ -50,6 +50,7 @@ function strongCheckId($subState) $subState->set('firstname', $profile->firstName()); $subState->set('uid', $profile->owner()->id()); $subState->set('watch', $profile->owner()->watch); + $subState->set('comment', $profile->owner()->comment); $subState->set('birthdateRef', $profile->__get('birthdate_ref')); return true; } @@ -71,6 +72,7 @@ function weakCheckId($subState) $subState->set('firstname', $profile->firstName()); $subState->set('uid', $profile->owner()->id()); $subState->set('watch', $profile->owner()->watch); + $subState->set('comment', $profile->owner()->comment); $subState->set('birthdateRef', $profile->__get('birthdate_ref')); $subState->set('xorgid', $profile->__get('xorg_id')); return true; @@ -88,6 +90,7 @@ function weakCheckId($subState) if ($profile->compareNames($subState->s('firstname'), $subState->s('lastname'))) { $subState->set('uid', $profile->owner()->id()); $subState->set('watch', $profile->owner()->watch); + $subState->set('comment', $profile->owner()->comment); $subState->set('birthdateRef', $profile->__get('birthdate_ref')); $subState->set('xorgid', $profile->__get('xorg_id')); return 'Tu es vraisemblablement déjà inscrit !';