mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
N°4517 - PHP 8.1: Replace strlen() usages with utils::StrLen() for compatibility
This commit is contained in:
@@ -423,11 +423,11 @@ class ButtonUIBlockFactory extends AbstractUIBlockFactory
|
||||
$oButton->SetActionType($sActionType)
|
||||
->SetColor($sColor);
|
||||
|
||||
if (strlen($sValue) > 0) {
|
||||
if (utils::StrLen($sValue) > 0) {
|
||||
$oButton->SetValue($sValue);
|
||||
}
|
||||
|
||||
if (strlen($sName) > 0) {
|
||||
if (utils::StrLen($sName) > 0) {
|
||||
$oButton->SetName($sName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user