diff --git a/include/layout.inc b/include/layout.inc index fa61262e7..f66187b70 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -43,7 +43,8 @@ function highlight_php($code, $return = FALSE) ) . ''; if ($return) { return $highlighted; } - else { echo $highlighted; } + echo $highlighted; + return null; } // Same as highlight_php() but does not require ')+/", '', $highlighted_code, 1); if ($return) { return $highlighted_code; } - echo $highlighted_code; + return null; } // Stats pages still need this @@ -549,6 +550,7 @@ function get_news_changes() $title = $NEWS_ENTRIES[0]["title"]; return "{$title}"; } + return false; } function news_toc($sections = null) {