From a7e50950ee881c30dbfa928ca218d94f3ee65289 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 28 Dec 2008 21:59:48 +0100 Subject: [PATCH] Quick and ugly fix to avoid key collision on medal request insertion. Signed-off-by: Florent Bruneau --- modules/profile/decos.inc.php | 1 + 1 file changed, 1 insertion(+) 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); } } } -- 2.1.4