From 50f5af07f33a4ff52b18e52a630e1391167c1cb8 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Tue, 27 Aug 2024 16:00:56 +0200 Subject: [PATCH] SpellEffects/Icons * fix icon formater: num/qty can be strings --- pages/genericPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/genericPage.class.php b/pages/genericPage.class.php index 0efd8d6d..88bd4908 100644 --- a/pages/genericPage.class.php +++ b/pages/genericPage.class.php @@ -861,7 +861,7 @@ class GenericPage return $buff; } - protected function fmtCreateIcon(int $iconIdx, int $type, int $typeId, int $pad = 0, string $element = 'icontab-icon', int $size = 1, int $num = 0, int $qty = 0) : string + protected function fmtCreateIcon(int $iconIdx, int $type, int $typeId, int $pad = 0, string $element = 'icontab-icon', int $size = 1, string $num = '', string $qty = '') : string { // $element, $iconTabIdx, [typeId, size, num, qty] $createIconString = "\$WH.ge('%s%d').appendChild(%s.createIcon(%s));\n";