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:03 +00:00
parent 19472152e6
commit 91d3abd608

View File

@ -735,7 +735,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