if condition

Hi, here from line 515 if condition is executing but it's showing only highlighted one not the remaining conditions. it has to show the remaining list of data but not showing what might be the reason for that 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data