Fixing style errors.

This commit is contained in:
stickler-ci 2021-04-19 16:15:07 +00:00
parent 0f8ef61d34
commit 8437761bb6

View File

@ -188,8 +188,7 @@ $hookmanager->initHooks(array('projectOverview'));
*/
$title = $langs->trans('ProjectReferers').' - '.$object->ref.' '.$object->name;
if (!empty($conf->global->MAIN_HTML_TITLE) && preg_match('/projectnameonly/', $conf->global->MAIN_HTML_TITLE) && $object->name)
{
if (!empty($conf->global->MAIN_HTML_TITLE) && preg_match('/projectnameonly/', $conf->global->MAIN_HTML_TITLE) && $object->name) {
$title = $object->ref.' '.$object->name.' - '.$langs->trans('ProjectReferers');
}