fix missing value for svg

This commit is contained in:
prx 2023-09-19 14:37:41 +02:00
parent 836a8c1b8c
commit 9087347430
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
// get logo either out of the template images folder or data/media folder
$logoSize = array();
$logo = tpl_getMediaFile(array(':wiki:logo.svg', ':logo.svg', 'images/logo.svg', ':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);
$logoSize[3] = $logoSize[3] ?? ''; // empty if no size given
// display logo and wiki title in a link to the home page
tpl_link(