Update CValidation.php

Fix Fatal error:  Call to undefined method CNode::GetVal()