summaryrefslogtreecommitdiff
path: root/installer/test.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-19 12:20:27 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-19 12:20:27 +0200
commit159691e7b1174146fc1c839288e5dd0162d3e6f9 (patch)
tree5f465ff0d86adc3beff8de797c09f6e79407baa5 /installer/test.php
parent91f2271fac29340b5eee3bb6657456bd5d161548 (diff)
Don't use protected property rcube_db::$db_error
Diffstat (limited to 'installer/test.php')
-rw-r--r--installer/test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/test.php b/installer/test.php
index f09b2f7c7..28eb76940 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -167,7 +167,7 @@ else if ($db_working && $_POST['updatedb']) {
// 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;