From 2d35d74f0df3f77337eab9533c03ddaa9f3f8bda Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Thu, 3 Jul 2003 12:13:27 +0000 Subject: [PATCH] added check for empty rows in system_settings --- lib/System.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/System.inc b/lib/System.inc index a7560e2..7e29a7c 100644 --- a/lib/System.inc +++ b/lib/System.inc @@ -31,7 +31,7 @@ class System { function initialised() { global $default; - if ($this->db->query("SELECT count(*) AS count FROM system_settings WHERE name<>'lastIndexUpdate' AND name<>'filesystemRoot'")) { + if ($this->db->query("SELECT count(*) AS count FROM system_settings WHERE name<>'lastIndexUpdate' AND name<>'filesystemRoot' AND value<>''")) { $this->db->next_record(); return ($this->db->f("count") > 0) ? true : false; } -- libgit2 0.21.4