diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/register.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c index 22d7e867..d0470fb1 100644 --- a/mbbsd/register.c +++ b/mbbsd/register.c @@ -176,6 +176,9 @@ isvalidcareer(char *career) if( strlen(career) < 6 ) return "您的輸入不正確"; #endif + if (strstr(career, "學") && strstr(career, "系") && + (strstr(career, "畢") ==0 && strstr(career, "肄") == 0)) + return "請加上年級"; return NULL; } |