Years ago, Stefan's company was short handed, especially on the developer team. But they had a large hell-desk support team. And at some point, someone had the genius idea: "PHP is easy for anyone to learn, and so our helpdesk folks should have no problem. Let's hand them development tasks."
Which meant Stefan inherited lots of lines which look like this:
$bgc = $tno ? '#FFFFFF' : '#FFFFFF';
Unlike many examples of this pattern, this is not the result of a pre-processing or templating step generating a conditional where both branches are the same value. Someone actually typed this. Also, notably, the variable $tno holds a numeric value, not a boolean, and is never null. It sometimes is zero, which is false, but zero is just a regular value it might hold, and thus it shouldn't get any special formatting.
In short, the ternary shouldn't be here, not just because both branches are the same thing, but because there shouldn't logically be any branching at all.