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
+?>
diff --git a/data/templates/sscuttlizr/bookmarks.tpl.php b/data/templates/sscuttlizr/bookmarks.tpl.php
index 944e657..1510d44 100644
--- a/data/templates/sscuttlizr/bookmarks.tpl.php
+++ b/data/templates/sscuttlizr/bookmarks.tpl.php
@@ -32,7 +32,7 @@ $this->includeTemplate($GLOBALS['top_include']);