aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-23 22:12:21 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-23 22:12:21 -0400
commit5879ebf600db1609b0cd5112206fd1e34b722144 (patch)
tree94f2962ff8ce6a3d93fbb30886235530c1c20fea
parent986b4d669717da6140114f2aecf1d10f29178817 (diff)
downloadelgg-5879ebf600db1609b0cd5112206fd1e34b722144.tar.gz
elgg-5879ebf600db1609b0cd5112206fd1e34b722144.tar.bz2
Fixes #4003 footer in modules is included by default
-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;