Condition in if error?

For me perfectly working fine. please check the suggestion from Nitin @Nithinkrishna

2 Likes