From 6881cc9ad699c55e29f02807352ab743389faa67 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 21 Aug 2004 16:21:56 +0000 Subject: - Patch #10202 by Ax: don't emit an erroneous whitespace when no table headers are provided. Makes for clean XHTML. --- includes/theme.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index a8790ea67..a4b0b1274 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -127,7 +127,7 @@ function list_theme_engines($refresh = FALSE) { if (!$list) { $list = array(); - $result = db_query("SELECT * FROM {system} where type = 'theme_engine' AND status = '1' ORDER BY name"); + $result = db_query("SELECT * FROM {system} WHERE type = 'theme_engine' AND status = '1' ORDER BY name"); while ($engine = db_fetch_object($result)) { if (file_exists($engine->filename)) { $list[$engine->name] = $engine; @@ -591,7 +591,7 @@ function theme_submenu($links) { */ function theme_table($header, $rows, $attributes = NULL) { - $output = '\n"; + $output = '\n"; // Format the table header: if (is_array($header)) { -- cgit v1.2.3