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
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
namespace PhangoApp\PhaModels\CoreFields;
|
||||
use PhangoApp\PhaUtils\Utils;
|
||||
|
||||
class DoubleField extends PhangoField {
|
||||
|
||||
|
|
@ -28,7 +29,7 @@ class DoubleField extends PhangoField {
|
|||
function check($value)
|
||||
{
|
||||
|
||||
$this->value=form_text($value);
|
||||
$this->value=Utils::form_text($value);
|
||||
settype($value, "double");
|
||||
return $value;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue