diff --git a/typo3/sysext/indexed_search/Classes/Hook/TypoScriptFrontendHook.php b/typo3/sysext/indexed_search/Classes/Hook/TypoScriptFrontendHook.php
index 99a343151ddd1a0f54c74d08a22cfcef56a6767f..1cb32bf20e962b34b238c22bcb4aba7089db7726 100644
--- a/typo3/sysext/indexed_search/Classes/Hook/TypoScriptFrontendHook.php
+++ b/typo3/sysext/indexed_search/Classes/Hook/TypoScriptFrontendHook.php
@@ -116,7 +116,7 @@ class TypoScriptFrontendHook
         $configuration['mtime'] = $tsfe->register['SYS_LASTCHANGED'] ?? $tsfe->page['SYS_LASTCHANGED'];
         // Most recent modification time (seconds) of the content on the page. Used to evaluate whether it should be re-indexed.
         // Configuration of behavior
-        $configuration['index_externals'] = $tsfe->config['config']['index_externals'];
+        $configuration['index_externals'] = $tsfe->config['config']['index_externals'] ?? true;
         // Whether to index external documents like PDF, DOC etc. (if possible)
         $configuration['index_descrLgd'] = $tsfe->config['config']['index_descrLgd'] ?? 0;
         // Length of description text (max 250, default 200)