aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/page/components/module.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/page/components/module.php b/views/default/page/components/module.php
index f7b9da59c..b1198ee9a 100644
--- a/views/default/page/components/module.php
+++ b/views/default/page/components/module.php
@@ -42,6 +42,8 @@ if (isset($vars['footer'])) {
if ($vars['footer']) {
$footer = "<div class=\"elgg-foot\">$footer</div>";
}
+} else {
+ $footer = "<div class=\"elgg-foot\"></div>";
}
$contents = $header . $body . $footer;