Skip to content

Commit

Permalink
Merge pull request Smile-SA#3398 from rbayet/fix-tracker-avoid-deprec…
Browse files Browse the repository at this point in the history
…ation-warnings

[Tracker] Avoid deprecation warnings
  • Loading branch information
rbayet authored Sep 30, 2024
2 parents ac34511 + 53331c9 commit 60ea1d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ protected function isEventInvalid($data)
if (array_key_exists('session', $data)) {
if (array_key_exists('uid', $data['session']) && array_key_exists('vid', $data['session'])) {
$isEventInvalid = false;
$sessionUid = trim($data['session']['uid']);
$sessionVid = trim($data['session']['vid']);
$sessionUid = trim($data['session']['uid'] ?? '');
$sessionVid = trim($data['session']['vid'] ?? '');
if (empty($sessionUid) || ("null" === $sessionUid)) {
$isEventInvalid = true;
}
Expand Down

0 comments on commit 60ea1d9

Please sign in to comment.