From 159691e7b1174146fc1c839288e5dd0162d3e6f9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 19 Jun 2012 06:20:27 -0400 Subject: [PATCH] Don't use protected property rcube_db::$db_error --- installer/test.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/installer/test.php b/installer/test.php index f09b2f7..28eb769 100644 --- a/installer/test.php +++ b/installer/test.php @@ -167,7 +167,7 @@ // test database if ($db_working) { $db_read = $DB->query("SELECT count(*) FROM {$RCI->config['db_table_users']}"); - if ($DB->db_error) { + if ($DB->is_error()) { $RCI->fail('DB Schema', "Database not initialized"); echo '<p><input type="submit" name="initdb" value="Initialize database" /></p>'; $db_working = false; -- Gitblit v1.9.1