2
0
forked from Wavyzz/dolibarr

Clean code

This commit is contained in:
Laurent Destailleur
2017-10-28 16:00:07 +02:00
parent 9e382a7f1b
commit 00db7e16ec
4 changed files with 8 additions and 3 deletions

View File

@@ -1336,7 +1336,7 @@ class ExtraFields
$list=$this->attribute_list[$key];
$hidden=(abs($list)!=1 ? 1 : 0);
if ($hidden) return '';
if ($hidden) return ''; // This is a protection. If field is hidden, we should just not call this method.
// If field is a computed field, value must become result of compute
if ($computed)