Changeset 04310ee in github
- Timestamp:
- Jul 23, 2011 5:07:28 AM (22 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 24f812dc
- Parents:
- f52c4f44
- File:
-
- 1 edited
-
program/steps/addressbook/copy.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/steps/addressbook/copy.inc
r87a2f68 r04310ee 29 29 $target_group = get_input_value('_togid', RCUBE_INPUT_POST); 30 30 31 $success = 0; 32 $maxnum = $RCMAIL->config->get('max_group_members', 0); 31 $success = 0; 32 $errormsg = 'copyerror'; 33 $maxnum = $RCMAIL->config->get('max_group_members', 0); 33 34 34 35 foreach ($cids as $source => $cid) … … 79 80 $record = $result->first(); 80 81 $ids[] = $record['ID']; 82 $errormsg = 'contactexists'; 81 83 } 82 84 } … … 102 104 $success = $plugin['result']; 103 105 } 106 107 $errormsg = $plugin['message'] ? $plugin['message'] : 'copyerror'; 104 108 } 105 109 } 106 110 107 111 if ($success == 0) 108 $OUTPUT->show_message( 'copyerror', 'error');112 $OUTPUT->show_message($errormsg, 'error'); 109 113 else 110 114 $OUTPUT->show_message('copysuccess', 'notice', array('nr' => $success));
Note: See TracChangeset
for help on using the changeset viewer.
