Fixes for adapt to the new framework
This commit is contained in:
parent
d76b4df139
commit
ea3bbc91e4
12 changed files with 245 additions and 18 deletions
|
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
namespace PhangoApp\PhaModels\CoreFields;
|
||||
use PhangoApp\PhaUtils\Utils;
|
||||
|
||||
class IntegerField extends PhangoField {
|
||||
|
||||
|
|
@ -31,7 +32,7 @@ class IntegerField extends PhangoField {
|
|||
function check($value)
|
||||
{
|
||||
|
||||
$this->value=form_text($value);
|
||||
$this->value=Utils::form_text($value);
|
||||
|
||||
settype($value, "integer");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue