diff --git a/admin/registration_receivedforms.php b/admin/registration_receivedforms.php index 89c4d1ce..8f80f838 100644 --- a/admin/registration_receivedforms.php +++ b/admin/registration_receivedforms.php @@ -212,7 +212,7 @@ echo mysql_Error(); $proj_nums=array(); while($searchr=mysql_fetch_object($searchq)) { - $proj_nums[]=$r->projectnumber; + $proj_nums[]=$searchr->projectnumber; } //we will eventually find a good number, so lets loop forever until we find a good one