Solution
Hello,
you have to update the open.php file as well after this:
if($thisclient) {
$vars=$thisclient->getName();
$vars=$thisclient->getEmail();
Use the following after it, then it will give you an error if the class.ticket.php has the 'required' set to 1:
$vars=$thisclient->getPhone();
I know it's a late answer, but I just had the same problem and I solved it because of this thread ;)