bug 1023 added the two missing lines, which caused the race condition by their absence
authorroot <root@cacert1.it-sls.de>
Sun, 11 Mar 2012 19:52:45 +0000 (20:52 +0100)
committerroot <root@cacert1.it-sls.de>
Sun, 11 Mar 2012 19:52:45 +0000 (20:52 +0100)
pages/wot/6.php

index 165be36..71f65ae 100644 (file)
@@ -39,6 +39,8 @@ function makecap()
        $lname = $row['lname'];
        $suffix = $row['suffix'];
        $dob = $row['dob'];
+       $name = $row['fname']." ".$row['mname']." ".$row['lname']." ".$row['suffix'];
+       $_SESSION['_config']['wothash'] = md5($name."-".$dob);
 
        $cap=makecap($fname,$mname,$lname,$suffix,$dob,$row['email'],$_SESSION['profile']['fname'].$_SESSION['profile']['mname'].$_SESSION['profile']['lname'].$_SESSION['profile']['suffix']);