summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-04-01 06:40:32 +0000
committerthomascube <thomas@roundcube.net>2010-04-01 06:40:32 +0000
commit1d773d71414316e0b9836a15c35576593427ee21 (patch)
tree9f94a0285a14e3e952143963bf362af3b4d534dd
parentaa12df20e46ae72467f8d4dc01784a500eb83f0c (diff)
Fix typo
-rw-r--r--program/localization/en_US/messages.inc1
-rw-r--r--program/steps/addressbook/groups.inc2
2 files changed, 1 insertions, 2 deletions
diff --git a/program/localization/en_US/messages.inc b/program/localization/en_US/messages.inc
index 0152cebe8..f87cfb579 100644
--- a/program/localization/en_US/messages.inc
+++ b/program/localization/en_US/messages.inc
@@ -97,7 +97,6 @@ $messages['selectimportfile'] = 'Please select a file to upload';
$messages['addresswriterror'] = 'The selected address book is not writeable';
$messages['contactaddedtogroup'] = 'Successfully added the contacts to this group';
$messages['contactremovedfromgroup'] = 'Successfully remove contacts from this group';
-
$messages['importwait'] = 'Importing, please wait...';
$messages['importerror'] = 'Import failed! The uploaded file is not a valid vCard file.';
$messages['importconfirm'] = '<b>Successfully imported $inserted contacts, $skipped existing entries skipped</b>:<p><em>$names</em></p>';
diff --git a/program/steps/addressbook/groups.inc b/program/steps/addressbook/groups.inc
index f69501b0d..c853cedaf 100644
--- a/program/steps/addressbook/groups.inc
+++ b/program/steps/addressbook/groups.inc
@@ -29,7 +29,7 @@ $source = get_input_value('_source', RCUBE_INPUT_GPC);
if ($RCMAIL->action == 'group-addmembers') {
if (($gid = get_input_value('_gid', RCUBE_INPUT_POST)) && ($ids = get_input_value('_cid', RCUBE_INPUT_POST))) {
- $plugin = $RCMAIL->plugins->exec_hook('group_addmember', array('group_id' => $gid, 'ids' => $ids, 'source' => $source));
+ $plugin = $RCMAIL->plugins->exec_hook('group_addmembers', array('group_id' => $gid, 'ids' => $ids, 'source' => $source));
if (!$plugin['abort'] && $CONTACTS->add_to_group($gid, $plugin['ids']))
$OUTPUT->show_message('contactaddedtogroup');