FIX member must be found to search the linked partnership (WebPortal) (#30977)
This commit is contained in:
parent
cb3ce12bfc
commit
8b5d80c930
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ if (!defined('WEBPORTAL_NOLOGIN') && !empty($context->controllerInstance->access
|
|||
$context->setEventMessage($error_msg, 'errors');
|
||||
}
|
||||
|
||||
if (!$error) {
|
||||
if (!$error && $logged_member->id > 0) {
|
||||
// get partnership
|
||||
$logged_partnership = new WebPortalPartnership($db);
|
||||
// @phan-suppress-next-line PhanPluginSuspiciousParamPosition
|
||||
|
|
|
|||
Loading…
Reference in a new issue