Fix lang portlet header display.
Timeless is showing the language portlet correctly when are languages or when something is added to the portlet, but it's also showing the header even if there are no languages and nothing extra was defined. The root cause is that when we check $this->afterLangPortlet !== '', the property is actually null at that stage, it is only defined when we call $this->getPortlet( 'lang' ...) in the next line. Bug: T256355 Change-Id: Ie3e0acccede7e2f477c6182e288def8d7a35070eisekai
parent
cc5a10db21
commit
e5e188fbc6
Loading…
Reference in New Issue