related to #1657 upsize svg if they are too small

This commit is contained in:
Matthieu Leproux
2022-05-17 11:32:59 +02:00
parent cac159e154
commit 61c26661b5
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -212,7 +212,8 @@ SELECT
{
$legend.= ' ('.$row['file'].')';
}
$extTab = explode('.',$row['path']);
$template->append(
'elements', array_merge($row,
array(
@@ -227,6 +228,7 @@ SELECT
'DESCRIPTION' => htmlspecialchars(@$row['comment']),
'DATE_CREATION' => $row['date_creation'],
'TAGS' => $tag_selection,
'is_svg' => (strtoupper(end($extTab)) == 'SVG'),
)
));
}