Fixed little bugs in SerializeField and errors debbuging in Webmodel
This commit is contained in:
parent
31917a339c
commit
fcd3d53cd1
2 changed files with 22 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace PhangoApp\PhaModels\CoreFields;
|
||||
use PhangoApp\PhaUtils\Utils;
|
||||
use PhangoApp\PhaModels\Webmodel;
|
||||
|
||||
/**
|
||||
* Serializefield is a field if you need save serialize values
|
||||
|
|
@ -71,7 +72,7 @@ class SerializeField extends PhangoField {
|
|||
|
||||
$this->value=$value;
|
||||
|
||||
return webtsys_escape_string(serialize($value));
|
||||
return Webmodel::escape_string(serialize($value));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue