diff --git a/modules/core/backend/views/element/expandable.php b/modules/core/backend/views/element/expandable.php
index <HASH>..<HASH> 100755
--- a/modules/core/backend/views/element/expandable.php
+++ b/modules/core/backend/views/element/expandable.php
@@ -1,3 +1,8 @@
+<?php
+if (!strlen(trim($content))) {
+    return;
+}
+?>
 <div class="expandable">
 	<div class="expandable-body">
 		<?= $content ?>
Hide expandable button when it's empty