diff --git a/phpgwapi/inc/class.schema_proc.inc.php b/phpgwapi/inc/class.schema_proc.inc.php index 644d56b8c7..726a94ec6a 100644 --- a/phpgwapi/inc/class.schema_proc.inc.php +++ b/phpgwapi/inc/class.schema_proc.inc.php @@ -723,7 +723,7 @@ class schema_proc else { // drop evtl. existing temp. table eg. from a previous failed upgrade - if (($tables = $this->db->table_names(true)) && in_array($tmp_name, $tables)) + if (($tables = $this->m_odb->table_names(true)) && in_array($tmp_name, $tables)) { $this->DropTable($tmp_name); }