From: Stéphane Jacob Date: Wed, 23 Jun 2010 08:42:02 +0000 (+0200) Subject: A group announce requires the uid of the author to be displayed properly. X-Git-Tag: xorg/1.0.0~76 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=79e610a9c765e4a6425e2dfb203caea643ace50d;p=platal.git A group announce requires the uid of the author to be displayed properly. Signed-off-by: Stéphane Jacob --- diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index 413fd2a..2dabdc9 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -1029,6 +1029,7 @@ class XnetGrpModule extends PLModule $art['prenom'] = S::v('prenom'); $art['promo'] = S::v('promo'); $art['hruid'] = S::user()->login(); + $art['uid'] = S::user()->id(); $art['expiration'] = Post::v('expiration'); $art['public'] = Post::has('public'); $art['xorg'] = Post::has('xorg');