diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-06 15:38:20 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-06 15:38:20 +0100 |
| commit | cf124b2b5e5d7a7663c2dfafa970ca191216f143 (patch) | |
| tree | 86163750c255bac1aa1146ef1667b6e681db7e01 | |
| parent | 0b0e5796f15d4a9c74651bd6fa06072768153964 (diff) | |
| download | contact-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-x | includes/classes/Contact.php | 6 |
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(); |
