From 231c7733f89f3558cd7a433463a192c9619cd61c Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Thu, 15 Jul 2004 21:08:59 +0000 Subject: [PATCH] bug #991887 --- ChangeLog | 1 + main.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ce955d70a..b39e9949b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ $Source$ TODO: - Update docs - Add conversion code to the docs - add charset checks to pmadb validation code + * main.php: bug #991887. 2004-07-15 Michal Čihař * tbl_properties_export.php: Fix export of queries with empty WHERE clause diff --git a/main.php b/main.php index bc730bef0..ff0dad4b4 100644 --- a/main.php +++ b/main.php @@ -583,7 +583,7 @@ echo "\n"; // added by Michael Keck // ThemeManager if available -if (count($available_themes_choices)>1) { +if (isset($available_themes_choices) && $available_themes_choices > 1) { $theme_selected = FALSE; $theme_preview_path= './themes.php'; $theme_preview_href = '