Oops
authorweb <web@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 30 Jan 2007 15:12:10 +0000 (15:12 +0000)
committerweb <web@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 30 Jan 2007 15:12:10 +0000 (15:12 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.13@1436 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/register.php

index a9b4094..4bbc1fa 100644 (file)
@@ -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);