Code

Be UTF-8 compatible
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Apr 2010 14:17:18 +0000 (14:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Apr 2010 14:17:18 +0000 (14:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17849 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_department.inc

index 6b07d07ee0833f2a5ae9986ab1c8d709bf479f7d..9ae9810b8c69372b36063a7757578bdba44089b3 100644 (file)
@@ -238,7 +238,7 @@ class department extends plugin
     $this->baseSelector->setBases($tmp);
 
     foreach ($this->attributes as $val){
-      $smarty->assign("$val", htmlentities($this->$val));
+      $smarty->assign("$val", htmlentities($this->$val,ENT_COMPAT,'UTF-8'));
     }
     $smarty->assign("base", $this->baseSelector->render());