From 4293289122f6352365205798d10d90831bc6af04 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 14 Jul 2010 07:03:23 +0000 Subject: [PATCH] Updated netatlk plugin, to handle posts correctly git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18996 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc b/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc index 533e21255..29dda2f00 100644 --- a/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc +++ b/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc @@ -203,7 +203,7 @@ class netatalk extends plugin { /* Assign attributes */ foreach ($this->smarty_attributes as $val) { - $smarty->assign("$val", $this-> $val); + $smarty->assign("$val", set_post($this-> $val)); } /* Assign ACLs @@ -313,7 +313,7 @@ class netatalk extends plugin { foreach($this->post_attributes as $acl => $val) { if(!preg_match("/w/",$this->getacl($acl))) continue; if (isset ($_POST[$val])) { - $this->$val = $_POST[$val]; + $this->$val = get_post($val); } else { $this->$val = ""; } -- 2.30.2