From 61f6cf47898c6125ed53b046a0a5ca07831b27ad Mon Sep 17 00:00:00 2001 From: buckaroo-labs <46908086+buckaroo-labs@users.noreply.github.com> Date: Wed, 20 Dec 2023 19:34:24 -0800 Subject: [PATCH] Update bookmarks-thumbnail.inc.tpl.php avoid warning --- data/templates/sscuttlizr/bookmarks-thumbnail.inc.tpl.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/templates/sscuttlizr/bookmarks-thumbnail.inc.tpl.php b/data/templates/sscuttlizr/bookmarks-thumbnail.inc.tpl.php index 77cc67f..1cdffde 100644 --- a/data/templates/sscuttlizr/bookmarks-thumbnail.inc.tpl.php +++ b/data/templates/sscuttlizr/bookmarks-thumbnail.inc.tpl.php @@ -5,6 +5,9 @@ * * Expects a $row variable with bookmark data. */ +//2023-12-20 add line to avoid warning +if (!isset($GLOBALS['enableWebsiteThumbnails'])) return; + if (!$GLOBALS['enableWebsiteThumbnails']) { return; } @@ -15,4 +18,4 @@ $thumbnailHash = md5( //echo ''; echo ''; -?> \ No newline at end of file +?>