summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-06 15:38:20 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-06 15:38:20 +0100
commitcf124b2b5e5d7a7663c2dfafa970ca191216f143 (patch)
tree86163750c255bac1aa1146ef1667b6e681db7e01
parent0b0e5796f15d4a9c74651bd6fa06072768153964 (diff)
downloadcontact-cf124b2b5e5d7a7663c2dfafa970ca191216f143.tar.gz
contact-cf124b2b5e5d7a7663c2dfafa970ca191216f143.tar.bz2
contact-cf124b2b5e5d7a7663c2dfafa970ca191216f143.zip
Contact::load(): replace loadXrefList() with loadXrefInfo()
loadXrefList() was removed from LibertyContent as part of the xref migration to the LibertyXrefGroup path. Contact::load() already called loadXrefInfo() but the stale loadXrefList() call remained, causing a fatal error on load. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rwxr-xr-xincludes/classes/Contact.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/includes/classes/Contact.php b/includes/classes/Contact.php
index 41a7fbb..35582e7 100755
--- a/includes/classes/Contact.php
+++ b/includes/classes/Contact.php
@@ -125,11 +125,7 @@ class Contact extends LibertyContent {
}
$this->loadXrefTypeList();
- if ( !empty( $this->mInfo['contact_types'][2]['content_id'] ) ) {
- $this->loadClientList();
- }
- $this->loadXrefList();
- $this->loadAddressList();
+ $this->loadXrefInfo();
}
}
LibertyContent::load();