Taking account remark on pull request

This commit is contained in:
fhenry 2013-03-17 22:26:06 +01:00
parent 07bc0cd09e
commit 9e46a55bbf

View File

@ -1208,7 +1208,7 @@ else
if (!empty($conf->global->FCKEDITOR_ENABLE_USERSIGN) && dol_textishtml(dol_html_entity_decode($object->signature, ENT_COMPAT | ENT_HTML401))) {
print dol_html_entity_decode($object->signature, ENT_COMPAT | ENT_HTML401);
}else {
print dol_nl2br($object->signature,1,false);
print dol_textishtml($object->signature)?$object->signature:dol_nl2br($object->signature,1,false);
}
print "</td></tr>\n";