From 8a43811b09756b2b7c1490fd4107f607e1acbb76 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 14 Jul 2010 07:16:52 +0000 Subject: [PATCH] Updated post handling, enables utf-8 support. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18999 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../connectivity/openxchange/class_oxchangeAccount.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc b/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc index 3fdaaa6f9..4451edbe1 100644 --- a/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc +++ b/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc @@ -91,7 +91,7 @@ class oxchangeAccount extends plugin /* Load attributes */ foreach($this->attributes as $val){ - $smarty->assign("$val", $this->$val); + $smarty->assign("$val", set_post($this->$val)); } if ($this->is_account){ $smarty->assign("oxchangeState", "checked"); @@ -115,7 +115,6 @@ class oxchangeAccount extends plugin $smarty->assign("timezones", $this->timezones); - if ($this->parent !== NULL){ $smarty->assign("tabbed", 1); }else{ @@ -251,7 +250,7 @@ class oxchangeAccount extends plugin /* Get objects */ foreach(array("OXTimeZone","OXTaskDays","OXAppointmentDays") as $name) { if($this->acl_is_writeable($name) && isset($_POST[$name])){ - $this->$name = $_POST[$name]; + $this->$name = get_post($name); } } -- 2.30.2