From 95b43792e70c53d5c4991969255ca9656cf66728 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Tue, 3 Dec 2024 08:18:35 +0000
Subject: [PATCH] fix parameters for tooltipHtmlIcon(), fixes #4947

Closes #4947

Merge request studip/studip!3711
---
 lib/visual.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/visual.inc.php b/lib/visual.inc.php
index a6f052ae3ef..7aa4908a71e 100644
--- a/lib/visual.inc.php
+++ b/lib/visual.inc.php
@@ -435,7 +435,7 @@ function tooltipIcon(string $text, bool $important = false, bool $html = false,
  */
 function tooltipHtmlIcon(string $text, bool $important = false)
 {
-    return tooltipIcon($text, true, $important);
+    return tooltipIcon($text, $important, true);
 }
 
 /**
-- 
GitLab