Skip to content
Snippets Groups Projects

Hotline

Merged Patrick Barroca requested to merge hotline into master
Compare and
12 files
+ 462
7
Preferences
Compare changes
Files
12
@@ -92,8 +92,9 @@ $script_loader = Class_ScriptLoader::getInstance()
?>
<br>
<?php
echo (Class_AdminVar::isModuleEnabled('AUTHOR_PAGE'))
? $this->notice->getChampNotice(Class_CodifAuteur::CODE_FACETTE)[0]->renderOn($this)
echo (Class_AdminVar::isModuleEnabled('AUTHOR_PAGE')
&& ($author_fields = $this->notice->getChampNotice(Class_CodifAuteur::CODE_FACETTE)))
? $author_fields[0]->renderOn($this)
: $this->tag('span', $this->notice->getAuteurPrincipal());
?>
</h1>