From d77692031a0b3343cb7306f9bdd449208291eb17 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 18 Jan 2006 06:49:10 +0000 Subject: [PATCH] allow special chars in device names git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2509 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_glpiDeviceManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_glpiDeviceManagement.inc b/plugins/admin/systems/class_glpiDeviceManagement.inc index 84c50362c..19541ba41 100644 --- a/plugins/admin/systems/class_glpiDeviceManagement.inc +++ b/plugins/admin/systems/class_glpiDeviceManagement.inc @@ -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 ... */ -- 2.30.2