Skip to content

Commit c554dd6

Browse files
Merge pull request #17 from dutchenkoOleg/master
fix svgSymbol
2 parents b39b9f0 + 8296a52 commit c554dd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WezomAgency/R2D2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public function cssRules($properties)
213213
public function svgSymbol($id, $attrs = [], $spritemap = null)
214214
{
215215
$svgAttributes = $this->attrs($attrs);
216-
$useHref = $spritemap ?: $this->svgSpritemapPath . '#' . $id;
216+
$useHref = ($spritemap ?: $this->svgSpritemapPath) . '#' . $id;
217217
return '<svg ' . $svgAttributes . '><use xlink:href="' . $useHref . '"></use></svg>';
218218
}
219219

0 commit comments

Comments
 (0)