thomascube
2011-01-18 0501b637a3177cce441166b5fcfe27c9bd9fbe0f
program/steps/addressbook/groups.inc
@@ -79,8 +79,7 @@
  if ($created && $OUTPUT->ajax_call) {
    $OUTPUT->show_message('groupcreated', 'confirmation');
    $OUTPUT->command('insert_contact_group', array(
      'source' => $source, 'id' => $created['id'], 'name' => $created['name']));
    $OUTPUT->command('insert_contact_group', array('source' => $source) + $created);
  }
  else if (!$created) {
    $OUTPUT->show_message($plugin['message'] ? $plugin['message'] : 'errorsaving', 'error');