Fixed edata errors in register.php.