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:42:27 +00:00
parent b2b8b35383
commit c9ab7e557b

View File

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