Fixes for adapt to the new framework

This commit is contained in:
Antonio de la Rosa 2015-04-24 04:17:13 +02:00
parent d76b4df139
commit ea3bbc91e4
12 changed files with 245 additions and 18 deletions

View file

@ -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);
}