summaryrefslogtreecommitdiff
path: root/import
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2012-08-06 08:32:50 +0100
committerlsces <lester@lsces.co.uk>2012-08-06 08:32:50 +0100
commit44b287fca95e3ed5eb074ead88fc5be4c3e29afc (patch)
tree9b40b9f2dba0b9431681c368c34d229c3687033c /import
parent64e34710a022c6f49c5052aee2fdd0b5b8ab9bf9 (diff)
downloadcontact-44b287fca95e3ed5eb074ead88fc5be4c3e29afc.tar.gz
contact-44b287fca95e3ed5eb074ead88fc5be4c3e29afc.tar.bz2
contact-44b287fca95e3ed5eb074ead88fc5be4c3e29afc.zip
Missed getDisplayUrl update - ContactOld is an alternative style of contact
Diffstat (limited to 'import')
-rw-r--r--import/ContactOld.php8
1 files changed, 4 insertions, 4 deletions
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 = '<a href="'.$this->getContactUrl($aux['contact_id']).'">'.$aux['title'].'</a>';
+ $ret = '<a href="'.$this->getDisplayUrl($aux['contact_id']).'">'.$aux['title'].'</a>';
} else {
- $ret = '<a href="'.$this->getContactUrl($aux['contact_id']).'">'."Contact - ".$this->mInfo['title'].'</a>';
+ $ret = '<a href="'.$this->getDisplayUrl($aux['contact_id']).'">'."Contact - ".$this->mInfo['title'].'</a>';
}
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;
}