You are not logged in.
Pages: 1
Topic closed
Bonjour,
Le scripts de recalcul des catégories de logiciels de la version 0.80, ne fonctionne plus :
En effet il référence la colonne ticketcategories_id et non softwarecategories_id
Un simple diff de correction :
--- /home/whocare/Bureau/glpi/scripts/softcat_mass_compute.php 2011-05-26 21:41:49.000000000 +0200
+++ softcat_mass_compute.php 2011-06-17 14:44:07.000000000 +0200
@@ -2,10 +2,10 @@
/*
- * @version $Id: softcat_mass_compute.php 14498 2011-05-20 13:39:24Z moyo $
+ * @version $Id: softcat_mass_compute.php 12827 2010-10-21 11:34:54Z yllen $
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
- Copyright (C) 2003-2011 by the INDEPNET Development Team.
+ Copyright (C) 2003-2010 by the INDEPNET Development Team.
http://indepnet.net/ http://glpi-project.org
-------------------------------------------------------------------------
@@ -45,13 +45,13 @@
$softcatrule = new RuleSoftwareCategoryCollection;
$soft = new Software;
-$query = "SELECT `id`, `ticketcategories_id`
+$query = "SELECT `id`, `softwarecategories_id`
FROM `glpi_softwares`";
if ($result=$DB->query($query)) {
if ($DB->numrows($result)>0) {
while ($data=$DB->fetch_array($result)) {
- if (!$ONLY_UNDEFINED || $data['ticketcategories_id']==0) {
+ if (!$ONLY_UNDEFINED || $data['softwarecategories_id']==0) {
$params = array();
//Get software name and manufacturer
Cordialement,
Offline
Bonjour,
ce bug a déjà été corrigé et sera disponible dans la 0.80.1
merci du retour.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Pages: 1
Topic closed