]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4003 footer in modules is included by default
authorCash Costello <cash.costello@gmail.com>
Mon, 24 Oct 2011 02:12:21 +0000 (22:12 -0400)
committerCash Costello <cash.costello@gmail.com>
Mon, 24 Oct 2011 02:12:21 +0000 (22:12 -0400)
views/default/page/components/module.php

index f7b9da59ca48253b37b0ce1827be4b50252c74fa..b1198ee9a34db600c1d88ef57bc3bbf795dde542 100644 (file)
@@ -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;