git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3412 a333f486-631f-4898-b8df-5754b55c2be0
@@ -428,6 +428,10 @@ EOF;
$aFlags[] = $sFlag;
}
+ if (empty($aFlags))
+ {
+ $aFlags[] = 'OPT_ATT_NORMAL'; // When no flag is defined, reset the state to "normal"
+ }
$sRes = implode(' | ', $aFlags);
return $sRes;