Code

allow special chars in device names
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 18 Jan 2006 06:49:10 +0000 (06:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 18 Jan 2006 06:49:10 +0000 (06:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2509 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_glpiDeviceManagement.inc

index 84c50362c05faa9072176ff4de0cee6ed491a88f..19541ba4105371b31ea171336175492b09f85c85 100644 (file)
@@ -362,7 +362,7 @@ class glpiDeviceManagement extends plugin
 
     /* Transfer given data to smarty */
     foreach($this->EditEntry as $name => $value){
-      $smarty->assign($name,$value);
+      $smarty->assign($name,htmlentities($value));
     }
   
     /* Set default select boxes, manufacturers ... */