fixing issue: failed add to organisation from org-view, when colon in org_unit/org_location/organisation

This commit is contained in:
Klaus Leithoff 2010-02-25 13:38:20 +00:00
parent ff82712ac3
commit 4aa739c6c8

View File

@ -828,7 +828,7 @@ class addressbook_bo extends addressbook_so
$org = array();
foreach(explode('|||',$org_id) as $part)
{
list($name,$value) = explode(':',$part);
list($name,$value) = explode(':',$part,2);
$org[$name] = $value;
}
$csvs = array('cat_id'); // fields with comma-separated-values