From b32d91ef6d9477464db9b60fdf94bf94ba795240 Mon Sep 17 00:00:00 2001 From: tsmr Date: Tue, 29 Nov 2016 14:18:03 +0100 Subject: [PATCH] Update to 1.3.0 is broken. fix #58 Thanks Remi --- hook.php | 2 +- setup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hook.php b/hook.php index 911ffa6a..e651b811 100644 --- a/hook.php +++ b/hook.php @@ -871,7 +871,7 @@ function plugin_ocsinventoryng_install() && FieldExists('glpi_plugin_ocsinventoryng_ipdiscoverocslinks', 'address') ) { $query = "ALTER TABLE `glpi_plugin_ocsinventoryng_ipdiscoverocslinks` - ADD CHANGE `address` `subnet` VARCHAR(40) COLLATE utf8_unicode_ci DEFAULT NULL;"; + CHANGE `address` `subnet` VARCHAR(40) COLLATE utf8_unicode_ci DEFAULT NULL;"; $DB->queryOrDie($query, "1.3.0 update table glpi_plugin_ocsinventoryng_ipdiscoverocslinks change subnet"); } diff --git a/setup.php b/setup.php index 26aae413..88acf2af 100644 --- a/setup.php +++ b/setup.php @@ -150,7 +150,7 @@ function plugin_version_ocsinventoryng() { return array('name' => "OCS Inventory NG", - 'version' => '1.3.0', + 'version' => '1.3.1', 'author' => 'Gilles Dubois, Remi Collet, Nelly Mahu-Lasson, David Durieux, Xavier Caillaud, Walid Nouh, Arthur Jaouen', 'license' => 'GPLv2+', 'homepage' => 'https://github.com/pluginsGLPI/ocsinventoryng',