PHP Warning: Undefined array key "joined_profile"

@Alex T⚜️ @LeonidS

PHP Warning: Undefined array key "joined_profile" in .../modules/boonex/organizations/classes/BxOrgsSearchResult.php on line 106.

Is the following the correct fix for BxOrgsSearchResult.php?

        case 'joined_entries':
            $iJoinedProfileId = $aParams['joined_profile'] ?? null;
            $oJoinedProfile = $iJoinedProfileId ? BxDolProfile::getInstance((int)$iJoinedProfileId) : null;
            if (!$oJoinedProfile) {
                $this->isError = true;
                break;
            }
  • 142
  • More
Replies (1)
    Login or Join to comment.