Update CForm.php

The check method was always calling the callIfSuccess. Changed to call the fail method.