cobisja / tad-php

PHP Library for ZK Time & Attendance Devices
MIT License
213 stars 159 forks source link

set_user_info function get error when data contain single quote #89

Open diaulhaq opened 10 months ago

diaulhaq commented 10 months ago

Please help me, I get error massage when I use function set_user_info to send User to attendance machine, when my data is contain single quote : $data = $con->set_user_info([ 'pin' => 558, 'name'=> "SAM'UN", ]);

The error massage is "SimpleXMLElement::__construct(): Entity: line 1: parser error : EndTag: '</' not found"