mirror of
https://github.com/shadoll/sLetter.git
synced 2025-12-20 02:26:05 +00:00
gump validator
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* @author sHa <sha@shadoll.com>
|
||||
* @package sLetter
|
||||
* @version 18.2.13-8
|
||||
* @version 18.2.13-9
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -132,7 +132,7 @@ class sLetter{
|
||||
}
|
||||
|
||||
function validate($data,$return=false){
|
||||
$is_valid = GUMP::is_valid($this->fields, $data);
|
||||
$is_valid = \GUMP::is_valid($this->fields, $data);
|
||||
if($is_valid !== true){
|
||||
$this->error = true;
|
||||
$this->status = $is_valid;
|
||||
|
||||
Reference in New Issue
Block a user