Always with libserverphp, there is problems : The hook addsections must return an array with id for each section, but for each section we must have only a number (because it is using by a key number in an array. So we can't have possibility to have same key for 2 sections.
For example, I store in my DB, HARDWARE section in a table and SOFTWARE section in an other. And we can have same id. it's a big PROBLEM. Other things works for the moment ;) Le Sat, 21 Aug 2010 17:40:11 +0200 David DURIEUX <[email protected]> a écrit: >Another patch to put section data into an array instead in a string >separated by "<br />" > > >Le Fri, 20 Aug 2010 23:18:01 +0200 >David DURIEUX <[email protected]> a écrit: > >>Hello, >> >>I have made 3 modifications of structure (Patch 0001 to 0003) with >>using PHP CONSTANTS to use lib with external program with other >>folders, etc... >> >> >>For patch 0004, it's a patch when you use only one criteria (because >>it return an error but no error in this case) >> >>So now, we can use lib in GLPI ;) >> >>Enjoy ^^ >> >>Best regards, >> >>David DURIEUX >>Tel : +33 (0)4.74.04.81.34 >>Port : +33 (0)6.34.99.45.18 >>Mail : [email protected] >>Site Web : http://www.siprossii.com/ >> >>SIPROSSII >>847 route de Frans (Créacité) >>69400 Villefranche sur Saône >>FRANCE _______________________________________________ Fusioninventory-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-devel
