mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
fix 2 PHP 8.x Fatal stalling upgrade of old instances/apps
This commit is contained in:
parent
9640bc3e55
commit
e95943f812
@ -616,7 +616,7 @@ class setup
|
||||
//echo '<br>' . $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'],
|
||||
|
@ -356,7 +356,6 @@ switch($GLOBALS['egw_info']['setup']['stage']['db'])
|
||||
{
|
||||
echo '<p align="center">'.lang('backup started, this might take a few minutes ...')."</p>\n".str_repeat(' ',4096);
|
||||
$db_backup->backup($f);
|
||||
fclose($f);
|
||||
echo '<p align="center">'.lang('backup finished')."</p>\n";
|
||||
}
|
||||
else // backup failed ==> dont start the upgrade
|
||||
|
Loading…
Reference in New Issue
Block a user