From 7c857c4d440b746b8cc1790c8a2fe02b95e9f811 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 Apr 2010 12:49:24 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/admin/departments/class_department.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.30.2