[PATCH] Fix create hash of sections

David Durieux d.durieux at siprossii.com
Sun Aug 22 10:29:04 UTC 2010


---
 Classes/Action/InventoryAction.class.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Classes/Action/InventoryAction.class.php b/Classes/Action/InventoryAction.class.php
index 92dc61e..7a5b01e 100644
--- a/Classes/Action/InventoryAction.class.php
+++ b/Classes/Action/InventoryAction.class.php
@@ -170,7 +170,7 @@ class InventoryAction extends Action
             //sectionId initialization, we will affect id after hook createSection return value.
             array_push($xmlSections, (array(
             "sectionId" => 0,
-            "sectionHash" => md5(extract($sectionData)),
+            "sectionHash" => md5(serialize($sectionData)),
             "sectionName" => $section->getName(),
             "sectionData" => $sectionData)));
         }
-- 
1.7.1


--MP_/9K8bPt4liC/Y5KmZm2x4E9L--



More information about the Fusioninventory-devel mailing list