diff --git a/register_participants.php b/register_participants.php
index d9d7a08..4649fd6 100644
--- a/register_participants.php
+++ b/register_participants.php
@@ -166,20 +166,24 @@
students.email='".$_SESSION['email']."'
AND students.year=".$config['FAIRYEAR']."
AND registrations.year=".$config['FAIRYEAR']."
- AND registrations.status='open'
+ AND
+ ( registrations.status='open'
+ OR registrations.status='paymentpending'
+ OR registrations.status='complete'
+ )
AND students.registrations_id=registrations.id");
if(mysql_num_rows($q)>0)
{
$r=mysql_fetch_object($q);
// print_r($r);
- echo i18n("Please enter your registration number in order to continue your registration");
+ echo i18n("Please enter your registration number in order to login");
echo "";
$allownew=false;
echo " ";
}
else
{
- //they dont have a 'new' and they dont have an 'open' so that means that they want to create a new one... BUT...
+ //they dont have a 'new' and they dont have an 'open/paymentpending/complete' so that means that they want to create a new one... BUT...
if($config['participant_registration_type']=="invite")
{