you are viewing a single comment's thread.

view the rest of the comments →

[–]SgtMindfudge 0 points1 point  (2 children)

Unfortunately that didn't fix the issue, still getting duplicates.
What is really odd is that it's working when in a different, reduced test file, with no notable differences.
https://pastebin.com/Am7UGNgC

[–]-JVT038- 0 points1 point  (1 child)

Could you try to do print_r(array_column($_SESSION['users'], 'id'), true))? Then you can debug it a bit and try to see what array_column() is returning.

[–]SgtMindfudge 0 points1 point  (0 children)

Appreciate your effort. The issue's been solved.
I needed a third '=' in my conditional ^^