From 8fabe11fc5c5066666187bc8f94f48248b60cba7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 4 Aug 2015 09:53:38 +0000 Subject: [PATCH] fix typo causing PHP Fatal error on update --- phpgwapi/inc/class.schema_proc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }