Skip to content

Commit f27ddbc

Browse files
committed
fix(install): explicit default value, just in case
1 parent 861b89e commit f27ddbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install/install.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,13 @@ protected function configureExistingEntities() {
263263

264264
/** Value -2 is "inheritance from parent" @see PluginFormcreatorEntityconfig::CONFIG_PARENT */
265265
$query = "INSERT INTO glpi_plugin_formcreator_entityconfigs
266-
(entities_id, replace_helpdesk, sort_order, is_kb_separated, is_search_visible, is_dashboard_visible, is_header_visible)
266+
(entities_id, replace_helpdesk, default_form_list_mode, sort_order, is_kb_separated, is_search_visible, is_dashboard_visible, is_header_visible)
267267
SELECT ent.id,
268268
IF(ent.id = 0, 0, -2),
269269
IF(ent.id = 0, 0, -2),
270270
IF(ent.id = 0, 0, -2),
271271
IF(ent.id = 0, 0, -2),
272+
IF(ent.id = 0, 0, -2),
272273
IF(ent.id = 0, 1, -2),
273274
IF(ent.id = 0, 0, -2)
274275
FROM glpi_entities ent

0 commit comments

Comments
 (0)