unary/friendica — comment on commit 97ee4d84eface2955fcc103969fc595f5effcc00
File:  line 0
By friendica:

What we're trying to do is add the id into the parent array if it isn't already in there. array_key_exists() is the wrong function to do this job. That may have been after a long night at the keyboard.

Instead it should just be in_array() which should do the right thing. This would've been a heck of a problem to track down, so you did good. I'm going to close this request and put in the right fix. Thank you!