Skip to content
Snippets Groups Projects
Commit 4fdd98c4 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: another strict mode alert

parent a4463186
No related branches found
No related tags found
No related merge requests found
......@@ -268,7 +268,7 @@ class FormFile
if (! empty($iconPDF)) {
return $this->getDocumentsLink($modulepart, $modulesubdir, $filedir);
}
$printer = ($user->rights->printipp->read && $conf->printipp->enabled)?true:false;
$printer = (!empty($user->rights->printipp->read) && !empty($conf->printipp->enabled))?true:false;
$hookmanager->initHooks(array('formfile'));
$forname='builddoc';
$out='';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment