mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
PHP 8.1: Replace strlen() usages with utils::StrLen() for compatibility
This commit is contained in:
@@ -9,6 +9,7 @@ namespace Combodo\iTop\Application\UI\Base\Component\Input;
|
||||
|
||||
|
||||
use Combodo\iTop\Application\UI\Base\UIBlock;
|
||||
use utils;
|
||||
|
||||
/**
|
||||
* You might want to use a {@link \Combodo\iTop\Application\UI\Base\Component\Field\Field} component instead...
|
||||
@@ -134,7 +135,7 @@ class InputWithLabel extends UIBlock
|
||||
*/
|
||||
public function HasDescription(): bool
|
||||
{
|
||||
return strlen($this->sDescription) > 0;
|
||||
return utils::StrLen($this->sDescription) > 0;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user