Skip to content

Commit 6a3942e

Browse files
committed
fix defined test
1 parent a1d43dd commit 6a3942e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/components/avatar.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
{# @var _rounded bool|int #}
2626
{% set _rounded = (options.rounded ?? false) %}
2727
{% set _circle = (options.circle ?? false) is same as true %}
28-
{% set _link = (options.link ?? options.href is defined) is same as true %}
28+
{% set _link = (options.link ?? (options.href is defined)) is same as true %}
2929
{% set _href = options.href ?? '' %}
3030
{% set _extraClass = options.extraClass ?? '' %}
3131
{% set _attr = options.attr ?? {} %}

0 commit comments

Comments
 (0)