From 91d3abd6082ec24c5f4ecb8939a54439b2266f4b Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 25 Feb 2010 13:42:03 +0000 Subject: [PATCH] fixing issue: failed add to organisation from org-view, when colon in org_unit/org_location/organisation --- addressbook/inc/class.addressbook_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_bo.inc.php b/addressbook/inc/class.addressbook_bo.inc.php index dcf55f507a..9083e02144 100755 --- a/addressbook/inc/class.addressbook_bo.inc.php +++ b/addressbook/inc/class.addressbook_bo.inc.php @@ -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