diff --git a/addressbook/inc/class.socontacts.inc.php b/addressbook/inc/class.socontacts.inc.php index b79fc5e86f..c52bd439e1 100755 --- a/addressbook/inc/class.socontacts.inc.php +++ b/addressbook/inc/class.socontacts.inc.php @@ -594,9 +594,6 @@ class socontacts if (!$rows) return array(); - list(,$by) = explode(',',$param['org_view']); - if (!$by) $by = 'adr_one_locality'; - foreach($rows as $n => $row) { $rows[$n]['id'] = 'org_name:'.$row['org_name'];