From: Florent Bruneau Date: Sun, 28 Dec 2008 20:59:48 +0000 (+0100) Subject: Quick and ugly fix to avoid key collision on medal request insertion. X-Git-Tag: xorg/0.10.1~49^2~36 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a7e50950ee881c30dbfa928ca218d94f3ee65289;p=platal.git Quick and ugly fix to avoid key collision on medal request insertion. Signed-off-by: Florent Bruneau --- diff --git a/modules/profile/decos.inc.php b/modules/profile/decos.inc.php index 85d2a86..4a6bd69 100644 --- a/modules/profile/decos.inc.php +++ b/modules/profile/decos.inc.php @@ -78,6 +78,7 @@ class ProfileDeco implements ProfileSetting if (!isset($orig[$id]) || $orig[$id]['grade'] != $val['grade']) { $req = new MedalReq(S::user(), $id, $val['grade']); $req->submit(); + sleep(1); } } }