forked from science-ation/science-ation
Misplaced not operator preventing people from registering new projects
This commit is contained in:
parent
6893a22276
commit
680528d387
@ -450,7 +450,7 @@ function addRegistration($userId){
|
||||
return "register_participants.inc.php::addRegistration -> user not found";
|
||||
}
|
||||
|
||||
if(!$row['registrations_id']){
|
||||
if(intval($row['registrations_id'])){
|
||||
return "register_participants.inc.php::addRegistration -> user already has a project registered";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user