diff options
author | thomascube <thomas@roundcube.net> | 2011-03-10 20:21:21 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-03-10 20:21:21 +0000 |
commit | 4591de7018414267311b421ef42ef1b4a2f6aa89 (patch) | |
tree | 1c5c723c52a626b0ebafe379ddf7fe6382b064bb /program/steps/addressbook | |
parent | 8381ec1254f816bea2a5e85acb0a54722d327a60 (diff) |
Prepare for multiple concurrent compose windows
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r-- | program/steps/addressbook/save.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/addressbook/save.inc b/program/steps/addressbook/save.inc index 2884aa418..8949a239b 100644 --- a/program/steps/addressbook/save.inc +++ b/program/steps/addressbook/save.inc @@ -57,6 +57,7 @@ if ($RCMAIL->action == 'upload-photo') { 'size' => $_FILES['_photo']['size'], 'name' => $_FILES['_photo']['name'], 'mimetype' => 'image/' . $imageprop['type'], + 'group' => 'contact', )); } else @@ -156,7 +157,7 @@ if (isset($a_record['photo'])) { unset($a_record['photo']); // cleanup session data - $RCMAIL->plugins->exec_hook('attachments_cleanup', array()); + $RCMAIL->plugins->exec_hook('attachments_cleanup', array('group' => 'contact')); $RCMAIL->session->remove('contacts'); } |