diff --git a/e107_plugins/download/handlers/download_class.php b/e107_plugins/download/handlers/download_class.php index 1dc4cd0d6..1f6c90959 100644 --- a/e107_plugins/download/handlers/download_class.php +++ b/e107_plugins/download/handlers/download_class.php @@ -573,7 +573,7 @@ class download $ns = e107::getRender(); /** @var download_shortcodes $sc */ $sc = $this->sc; - $sc->breadcrumb(); + // @see: #3056 fixes fatal error in case $sc is empty (what happens, if no record was found) $count = empty($sc) ? 0 : $sc->getVars(); @@ -583,6 +583,8 @@ class download return $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, "