From: hickert Date: Mon, 26 Apr 2010 12:49:24 +0000 (+0000) Subject: Allow to create departments wirh quotes in their names X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7c857c4d440b746b8cc1790c8a2fe02b95e9f811;p=gosa.git Allow to create departments wirh quotes in their names git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17844 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_department.inc b/gosa-core/plugins/admin/departments/class_department.inc index c44ee7a99..6b07d07ee 100644 --- a/gosa-core/plugins/admin/departments/class_department.inc +++ b/gosa-core/plugins/admin/departments/class_department.inc @@ -238,7 +238,7 @@ class department extends plugin $this->baseSelector->setBases($tmp); foreach ($this->attributes as $val){ - $smarty->assign("$val", $this->$val); + $smarty->assign("$val", htmlentities($this->$val)); } $smarty->assign("base", $this->baseSelector->render());