]> git.mjollnir.org Git - moodle.git/commitdiff
merged from 1.9 :: added missing "if ($heading)" to suppress empty page header.
authorurs_hunkler <urs_hunkler>
Sun, 11 Nov 2007 09:31:41 +0000 (09:31 +0000)
committerurs_hunkler <urs_hunkler>
Sun, 11 Nov 2007 09:31:41 +0000 (09:31 +0000)
theme/chameleon/header.html

index bde17042b34c70acce43c75bd2e6c50ae8cf1ff5..13e0716c9caefe730111fb091f40546622b59259 100644 (file)
@@ -28,7 +28,7 @@
     <div class="navbar clearfix">
         &nbsp;
     </div>
-<?php } else {  // This is what gets printed on any other page with a heading
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading
 ?>
     <div id="header" class="clearfix">
       <h1 class="headermain"><?php echo $heading ?></h1>