From a9f32c550c0e551b796f82a36d89d99dcbb1aebf Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Thu, 23 Jul 2009 14:00:54 +0000 Subject: [PATCH] case insens comparation to add user to the placing --- web/briskin5/Obj/placing.phh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/briskin5/Obj/placing.phh b/web/briskin5/Obj/placing.phh index 36d2950..4358b6e 100644 --- a/web/briskin5/Obj/placing.phh +++ b/web/briskin5/Obj/placing.phh @@ -135,7 +135,7 @@ function placing_show(&$user, $suff) ($pg->username == $user->name ? "" : ""), $pg->username, ($pg->username == $user->name ? "" : ""), $pg->snormpts(), $pg->pts, $pg->gam); } if ($user != FALSE) { - if ($pg->username == $user->name && $i >= TOP_NUM) { + if (strcasecmp($pg->username, $user->name) == 0 && $i >= TOP_NUM) { $tail = sprintf(" . . . . . . . . . . "); $tail .= sprintf("%d%s%s%s%s(%d/%d)", $i+1, ($pg->username == $user->name ? "" : ""), $pg->username, ($pg->username == $user->name ? "" : ""), $pg->snormpts(), $pg->pts, $pg->gam); -- 2.17.1