diff --git a/lib/Form/AssetsController.php b/lib/Form/AssetsController.php index b272db02d0..aac251f14c 100644 --- a/lib/Form/AssetsController.php +++ b/lib/Form/AssetsController.php @@ -38,6 +38,9 @@ class AssetsController { echo ''; $scripts = ob_get_contents(); ob_end_clean(); + if ($scripts === false) { + return ''; + } return $scripts; }