From: web Date: Tue, 30 Jan 2007 15:12:10 +0000 (+0000) Subject: Oops X-Git-Tag: xorg/0.9.13~35 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b4a9c974b9150c44f1b6869f19b9483ec7d8cf1e;p=platal.git Oops git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.13@1436 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/register.php b/modules/register.php index a9b4094..4bbc1fa 100644 --- a/modules/register.php +++ b/modules/register.php @@ -188,7 +188,7 @@ class RegisterModule extends PLModule $alert .= "Tentative d'inscription depuis une IP surveillee"; } else { $sub_state['step'] = 4; - if ($sub_state['backs'] >= 3) { + if (count($sub_state['backs']) >= 3) { $alert .= "Fin d'une inscription hésitante"; } finish_ins($sub_state);