Bug: LinkedIn organization_id missing null-coalesce operator #110

Closed
opened 2026-06-06 11:50:07 +00:00 by jmiller · 1 comment
Owner

Audit Finding

Severity: High

Issue:
In LinkedinService::publish(), $credentials['organization_id'] is accessed without ?? null-coalesce. PHP 8.1+ emits E_WARNING for undefined array key.

Fix: Use $credentials['organization_id'] ?? '' with !empty() check.

Files: LinkedinService.php

## Audit Finding **Severity:** High **Issue:** In `LinkedinService::publish()`, `$credentials['organization_id']` is accessed without `??` null-coalesce. PHP 8.1+ emits `E_WARNING` for undefined array key. **Fix:** Use `$credentials['organization_id'] ?? ''` with `!empty()` check. **Files:** `LinkedinService.php`
Author
Owner

Branch created: feature/110-bug-linkedin-organization-id-missing-nul

git fetch origin
git checkout feature/110-bug-linkedin-organization-id-missing-nul
Branch created: [`feature/110-bug-linkedin-organization-id-missing-nul`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/110-bug-linkedin-organization-id-missing-nul) ```bash git fetch origin git checkout feature/110-bug-linkedin-organization-id-missing-nul ```
Sign in to join this conversation.
No labels
Priority High
Type Bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCross#110