We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b571115 commit 918e46fCopy full SHA for 918e46f
install/upgrade_to_2.5.php
@@ -153,7 +153,7 @@ function updateCategory_2_5(Migration $migration) {
153
$migration->addKey('glpi_plugin_formcreator_categories', 'knowbaseitemcategories_id');
154
$migration->addKey('glpi_plugin_formcreator_categories', 'plugin_formcreator_categories_id');
155
$migration->migrationOneTable('glpi_plugin_formcreator_categories');
156
- $query = "UPDATE `glpi_plugin_formcreator_categories` SET `completename` = `name` WHERE `completename` = ''";
+ $query = "UPDATE `glpi_plugin_formcreator_categories` SET `completename` = `name` WHERE `completename` IS NULL";
157
$DB->query($query);
158
}
159
0 commit comments