We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6529aaf commit 6a00f33Copy full SHA for 6a00f33
components/com_contact/src/Model/ContactModel.php
@@ -364,6 +364,10 @@ protected function buildContactExtendedData($contact)
364
$contact->articles = null;
365
}
366
367
+ if (empty($contact->user_id)) {
368
+ return;
369
+ }
370
+
371
// Get the profile information for the linked user
372
$userModel = $this->bootComponent('com_users')->getMVCFactory()
373
->createModel('User', 'Administrator', ['ignore_request' => true]);
0 commit comments