mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 21:48:45 +02:00
UIBlock: Change $aAdditionalCSSClasses methods to match app. conventions (parameters should be arrays, not space separated string)
Note: This had to be fixed on all calls to this, hence the number of modifications.
This commit is contained in:
@@ -17,7 +17,7 @@ class Badge extends UIContentBlock
|
||||
|
||||
public function __construct(string $sColor)
|
||||
{
|
||||
parent::__construct(null, "ibo-badge ibo-badge-is-{$sColor}");
|
||||
parent::__construct(null, ["ibo-badge ibo-badge-is-{$sColor}"]);
|
||||
$this->SetColor($sColor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user