mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix SQL error during update: Column "app_tables" cannot be null (1048)
This commit is contained in:
parent
a765e1496d
commit
c3a99d13a0
@ -498,7 +498,7 @@ class setup
|
|||||||
'app_name' => $appname,
|
'app_name' => $appname,
|
||||||
'app_enabled' => $enable,
|
'app_enabled' => $enable,
|
||||||
'app_order' => $setup_info[$appname]['app_order'],
|
'app_order' => $setup_info[$appname]['app_order'],
|
||||||
'app_tables' => $tables,
|
'app_tables' => (string)$tables, // app_tables is NOT NULL
|
||||||
'app_version' => $setup_info[$appname]['version'],
|
'app_version' => $setup_info[$appname]['version'],
|
||||||
'app_index' => $setup_info[$appname]['index'],
|
'app_index' => $setup_info[$appname]['index'],
|
||||||
'app_icon' => $setup_info[$appname]['icon'],
|
'app_icon' => $setup_info[$appname]['icon'],
|
||||||
@ -580,7 +580,7 @@ class setup
|
|||||||
$this->db->update($this->applications_table,array(
|
$this->db->update($this->applications_table,array(
|
||||||
'app_enabled' => $setup_info[$appname]['enable'],
|
'app_enabled' => $setup_info[$appname]['enable'],
|
||||||
'app_order' => $setup_info[$appname]['app_order'],
|
'app_order' => $setup_info[$appname]['app_order'],
|
||||||
'app_tables' => $tables,
|
'app_tables' => (string)$tables, // app_tables is NOT NULL
|
||||||
'app_version' => $setup_info[$appname]['version'],
|
'app_version' => $setup_info[$appname]['version'],
|
||||||
'app_index' => $setup_info[$appname]['index'],
|
'app_index' => $setup_info[$appname]['index'],
|
||||||
'app_icon' => $setup_info[$appname]['icon'],
|
'app_icon' => $setup_info[$appname]['icon'],
|
||||||
|
Loading…
Reference in New Issue
Block a user