On upgrade from 7.11.4 to 7.11.10 missing if statements ion Header.tpl

Not sure if this should go here or not.

I recently upgraded and lost some menu items and noticed that there was an if statement that was missing :

Did i put that into my theme or did this if statement never exist in the first place?

Hi

you can examine the history here. This was a part of the file that had a change, which proved to be buggy (for people with customizations to _headerModuleList.tpl), then it was fixed.

So if I were you I would just stick with the final version which is this:

That adds a Smarty helper function, which allows that if logic to disappear from the header.tpl file.