diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-09 09:18:53 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-09 09:25:41 +0100 |
| commit | 343a471f165dfef235e056caec1955fd9ee423cb (patch) | |
| tree | c2f865dcbc25695a581e4d655ea2b30a0edc3e1f /lib/classes/forms/Link.php | |
| parent | 6a14782858a297ead2f509652ce914d8aefb5531 (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'lib/classes/forms/Link.php')
| -rw-r--r-- | lib/classes/forms/Link.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/forms/Link.php b/lib/classes/forms/Link.php index eeb0244..6f26f28 100644 --- a/lib/classes/forms/Link.php +++ b/lib/classes/forms/Link.php @@ -159,7 +159,7 @@ class Link extends Part '<div class="formpart"><a href="%1$s" %2$s>%3$s %4$s</a></div>', \URLHelper::getLink($this->url, [], true), arrayToHtmlAttributes($this->attributes), - $this->icon ? $this->icon->asSvg(['class' => 'text-bottom']) : '', + $this->icon ? $this->icon->asImg(['class' => 'text-bottom']) : '', htmlReady($this->label) ); } |
