Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/equal/orm/ObjectManager.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ class ObjectManager extends Service {
'markup/html' => 'string(64000)', // 64k chars html
'text/html' => 'string(64000)',
'text/plain' => 'string(64000)', // 64k chars text
'text/json' => 'string(64000)', // 64k chars json
'email' => 'string(255)',
'phone' => 'string(20)'
];
Expand Down Expand Up @@ -1283,6 +1284,7 @@ public function validate($class, $ids, $values, $check_unique=false, $check_requ
case 'text':
case 'text/plain':
case 'text/html':
case 'text/json':
$type = 'text';
break;
}
Expand Down