diff --git a/setup/inc/class.setup.inc.php b/setup/inc/class.setup.inc.php index 29a0e4d710..aaeced847a 100644 --- a/setup/inc/class.setup.inc.php +++ b/setup/inc/class.setup.inc.php @@ -616,7 +616,7 @@ class setup //echo '
' . $setup_info[$appname]['version']; if($setup_info[$appname]['tables']) { - $tables = implode(',',$setup_info[$appname]['tables']); + $tables = implode(',', (array)$setup_info[$appname]['tables']); } $this->db->update($this->applications_table,array( 'app_enabled' => $setup_info[$appname]['enable'], diff --git a/setup/index.php b/setup/index.php index 9c2acd2206..0e03e085de 100644 --- a/setup/index.php +++ b/setup/index.php @@ -356,7 +356,6 @@ switch($GLOBALS['egw_info']['setup']['stage']['db']) { echo '

'.lang('backup started, this might take a few minutes ...')."

\n".str_repeat(' ',4096); $db_backup->backup($f); - fclose($f); echo '

'.lang('backup finished')."

\n"; } else // backup failed ==> dont start the upgrade