From: hickert Date: Wed, 14 Jul 2010 07:03:23 +0000 (+0000) Subject: Updated netatlk plugin, to handle posts correctly X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4293289122f6352365205798d10d90831bc6af04;p=gosa.git Updated netatlk plugin, to handle posts correctly git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18996 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 = ""; }