From 44b287fca95e3ed5eb074ead88fc5be4c3e29afc Mon Sep 17 00:00:00 2001 From: lsces Date: Mon, 6 Aug 2012 08:32:50 +0100 Subject: Missed getDisplayUrl update - ContactOld is an alternative style of contact --- import/ContactOld.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'import') diff --git a/import/ContactOld.php b/import/ContactOld.php index a8fc8eb..e22384c 100644 --- a/import/ContactOld.php +++ b/import/ContactOld.php @@ -59,7 +59,7 @@ class Contact extends LibertyBase { $this->mContactName = $result->fields['title']; $this->mInfo['creator'] = (isset( $result->fields['creator_real_name'] ) ? $result->fields['creator_real_name'] : $result->fields['creator_user'] ); $this->mInfo['editor'] = (isset( $result->fields['modifier_real_name'] ) ? $result->fields['modifier_real_name'] : $result->fields['modifier_user'] ); - $this->mInfo['display_url'] = $this->getContactUrl(); + $this->mInfo['display_url'] = $this->getDisplayUrl(); $os1 = new OSRef($this->mInfo['x_coordinate'], $this->mInfo['y_coordinate']); $ll1 = $os1->toLatLng(); $this->mInfo['prop_lat'] = $ll1->lat; @@ -211,9 +211,9 @@ class Contact extends LibertyBase { if ( $this->mContactId != $aux['contact_id'] ) $this->load($aux['contact_id']); if (empty($this->mInfo['contact_id']) ) { - $ret = ''.$aux['title'].''; + $ret = ''.$aux['title'].''; } else { - $ret = ''."Contact - ".$this->mInfo['title'].''; + $ret = ''."Contact - ".$this->mInfo['title'].''; } return $ret; } @@ -283,7 +283,7 @@ class Contact extends LibertyBase { $this->mDb->CompleteTrans(); while ($res = $result->fetchRow()) { - $res['contact_url'] = $this->getContactUrl( $res['contact_id'] ); + $res['contact_url'] = $this->getDisplayUrl( $res['contact_id'] ); $ret[] = $res; } -- cgit v1.3