Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
4.5.0alpha
-
None
Description
Hi. having last versions from github of ez publish core and ezflow, timeline view throws a eZTemplate error in debug output
No such attribute for array(3): uri
Choose one of following: title, design, http_equiv
error comes from page_header_languages.tpl
... {else} {def $avail_translation = language_switcher( $site.uri.original_uri)} {/if}
it happens timeline.php does not add uri key to the site array
$site = array( 'title' => $ini->variable( 'SiteSettings', 'SiteName' ), 'design' => $ini->variable( 'DesignSettings', 'SiteDesign' ), 'http_equiv' => array( 'Content-Type' => 'text/html; charset=' . $httpCharset, 'Content-language' => $languageCode ) );
Probably we could just add uri to this array?
Steps to reproduce
install ez publish with ezflow and go to timeline view.