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; }