From 2f2a252b516d61135cb7733aeee8fc5b0b835f67 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 23 Feb 2012 16:42:58 +0000 Subject: [PATCH] * InfoLog: fixed multiple [apply] after copying an InfoLog creates multiple new infologs --- infolog/inc/class.infolog_ui.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index dfb8e25561..31311bef53 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1865,6 +1865,7 @@ class infolog_ui $content['info_owner'] = !(int)$this->owner || !$this->bo->check_perms(EGW_ACL_ADD,0,$this->owner) ? $this->user : $this->owner; $content['msg'] = lang('Infolog copied - the copy can now be edited'); $content['info_subject'] = ($content['info_subject']?lang('Copy of:').' ':'').$content['info_subject']; + unset($action); // it get stored in $content and will cause an other copy after [apply] } // group owners $types = $this->bo->enums['type'];