Skip to content

Commit

Permalink
(CDB) Fix wrong history log for adding new group to person with diffe…
Browse files Browse the repository at this point in the history
…rent gemeindeperson_id
  • Loading branch information
jmrauen committed Mar 31, 2015
1 parent 891aa45 commit 7bec8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/churchdb/churchdb_ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ function churchdb_addPersonGroupRelation($p_id, $g_id, $leader, $date, $followup
}

$info = getGroupInfo($g_id);
cdb_log("Neu: $info->gruppentyp $info->gruppe (P$p_id:G$g_id, ". "Leiter". ": $leader)", 2, $gp_id, CDB_LOG_PERSON, 1);
cdb_log("Neu: $info->gruppentyp $info->gruppe (P$p_id:G$g_id, ". "Leiter". ": $leader)", 2, $p_id, CDB_LOG_PERSON, 1);
$automail = chuchdb_sendAutomaticGroupEMail($g_id, $p_id, $leader);
if ((getConf('churchdb_sendgroupmails', true)) && ($info->mail_an_leiter_yn == 1)) {
// TODO: put automail and comment in separate arguments in informLeaderAboutNewGroupMember to use it in mail template
Expand Down

0 comments on commit 7bec8d9

Please sign in to comment.