Bug Fix

Removed an error in parsing the fields in register.lib.php.