summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0b82869)
raw | patch | inline | side by side (parent: 0b82869)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Aug 2007 09:23:45 +0000 (09:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Aug 2007 09:23:45 +0000 (09:23 +0000) |
Updated post handling for gotomasses
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7105 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7105 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/gotomasses/class_goto_task.inc | patch | blob | history | |
plugins/admin/groups/acl_definition.inc | patch | blob | history |
diff --git a/plugins/addons/gotomasses/class_goto_task.inc b/plugins/addons/gotomasses/class_goto_task.inc
index a92b93eadde4f544d418ccd99d16d18902cc2e28..bc2a1826369ea0d2313274a6837a415229d1a563 100644 (file)
{
if(isset($_POST['goto_task_posted'])){
plugin::save_object();
+ foreach($this->attributes as $attr){
+ if(in_array($attr,array("Initial_Target","Target"))){
+ continue;
+ }
+ if(isset($_POST[$attr])){
+ $this->$attr = get_post($attr);
+ }
+ }
}
}
index c992a9b4e86b925ea1ef745bdc3defe45d09ca39..c0fe178f8653fa6af4e8457647a48d1855572c5b 100644 (file)
"scalixLimitInboundMail" => _("Limit inbound"),
"scalixLimitNotifyUser" => _("Notify user"),
"scalixEmailAddress" => _("Scalix email addresses"));
-$ACLD['gotomasses'] array("create" => _("Create/edit new task"),"remove" => _("Remove tasks"));
+$ACLD['gotomasses']=array("create" => _("Create/edit new task"),"remove" => _("Remove tasks"));
$ACLD['mimetype'] = array("create","remove","cn","gotoMimeApplication","gotoMimeLeftClickAction","gotoMimeIcon","description","gotoMimeFilePattern","gotoMimeEmbeddedApplication","gotoMimeGroup","gotoMimeFilePattern","gotoMimeApplication","gotoMimeEmbeddedApplication");
?>