Hi Junwang,
> btw, there are some typos in Patch v5, %s/ralation/relation/g
D'oh!
> yeah, IMHO validate_relation_kind() is better ;)
Cool. Here is the corrected patch. Thanks!
-- Best regards,Aleksander Alekseev