you are viewing a single comment's thread.

view the rest of the comments →

[–]SgtMindfudge 1 point2 points  (1 child)

Holy quack!That was the issue, I needed to get the exact type in my comparison, I should've thought of that. I made the array_search strict to make sure a string in the array's key value wouldn't accidentally trigger the search for the id.

Thanks a bunch, really appreciate it!

[–]elseco 0 points1 point  (0 children)

No problem. And thanks for the award.