Corrected condition

Fixes #1037 - thank you @fi5er
Update Application.php

Corrected message
Merge pull request #1250 from siad007/patch-20

Corrected condition