Could probably also move `$can_ignore_allow_pm ? '' : ' OR user_allow_pm = 0'` here. The concatenation operators should be on the same line, nevertheless.