Fix #122 : customization du separateur de valeurs multivaluées

This commit is contained in:
Romain Neutron
2011-12-27 14:32:13 +01:00
parent 9eaac19f4d
commit bf3d78b700
3 changed files with 11 additions and 1 deletions

View File

@@ -552,6 +552,9 @@ class databox_field implements cache_cacheableInterface
*/
public function set_separator($separator)
{
if (strpos($separator, ';') === false)
$separator .= ';';
$this->separator = $separator;
return $this;