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
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
namespace PhangoApp\PhaModels\CoreFields;
|
||||
use PhangoApp\PhaUtils\Utils;
|
||||
|
||||
class CharField extends PhangoField {
|
||||
|
||||
|
|
@ -53,7 +54,7 @@ class CharField extends PhangoField {
|
|||
{
|
||||
|
||||
//Delete Javascript tags and simple quotes.
|
||||
$this->value=form_text($value);
|
||||
$this->value=Utils::form_text($value);
|
||||
return form_text($value);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue