mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°6495 - Fix strlen crashing with null value in AttributePassword
This commit is contained in:
@@ -4188,7 +4188,7 @@ class AttributePassword extends AttributeString implements iAttributeNoGroupBy
|
|||||||
|
|
||||||
public function GetAsHTML($sValue, $oHostObject = null, $bLocalize = true)
|
public function GetAsHTML($sValue, $oHostObject = null, $bLocalize = true)
|
||||||
{
|
{
|
||||||
if (strlen($sValue) == 0)
|
if (utils::IsNullOrEmptyString($sValue))
|
||||||
{
|
{
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user