From: hickert Date: Wed, 18 Jan 2006 06:50:19 +0000 (+0000) Subject: Allow sepecial chars in attachment dialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e91294fb9447f8587203e2219bfab4f4cb563348;p=gosa.git Allow sepecial chars in attachment dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2510 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_glpiAttachmentPool.inc b/plugins/admin/systems/class_glpiAttachmentPool.inc index fcfa664a1..b41d4a0b9 100644 --- a/plugins/admin/systems/class_glpiAttachmentPool.inc +++ b/plugins/admin/systems/class_glpiAttachmentPool.inc @@ -157,7 +157,7 @@ class glpiAttachmentPool extends plugin */ if($this->edit == true){ foreach($this->attributes as $attr){ - $smarty->assign($attr,$this->$attr); + $smarty->assign($attr,htmlentities($this->$attr)); } if(!empty($this->filename)){ if(is_readable("/etc/gosa/glpi/".$this->filename)){