mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Merge branch 'master' into PHRAS-2998_prod_workzone_default_sort_2
This commit is contained in:
@@ -151,6 +151,7 @@ class RecordHelper
|
|||||||
return (bool) $value;
|
return (bool) $value;
|
||||||
|
|
||||||
case FieldMapping::TYPE_STRING:
|
case FieldMapping::TYPE_STRING:
|
||||||
|
$value = substr($value, 0, 32766); // for lucene limit, before a better solution
|
||||||
return str_replace("\0", '', $value);
|
return str_replace("\0", '', $value);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user