From: Matteo Nastasi (mop) Date: Thu, 23 Jul 2009 14:00:54 +0000 (+0000) Subject: case insens comparation to add user to the placing X-Git-Tag: 3.0.0~52 X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;ds=inline;h=a9f32c550c0e551b796f82a36d89d99dcbb1aebf;p=brisk.git case insens comparation to add user to the placing --- 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);