Skip to content

Commit

Permalink
Improve format of people changes summary
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-lerch committed Jul 27, 2020
1 parent c2ec310 commit 15d1844
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inc/front_modules.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright notice
*
* (c) 2003-2017 Renzo Lauper (renzo@churchtool.org)
* (c) 2019-2020 Daniel Lerch
* All rights reserved
*
* This script is part of the kOOL project. The kOOL project is
Expand Down Expand Up @@ -928,7 +929,8 @@ function ko_fm_today($uid, $pos) {
}
if(!$foundChanges) continue;
} else { //..else show all changes
$tpl_person[$p_counter]['log'] = '<br />'.ko_html(substr($log['comment'], strpos($log['comment'], ':')+2));
$comment_changes = str_replace('-->', '»', substr($log['comment'], strpos($log['comment'], ':')+2));
$tpl_person[$p_counter]['log'] = '<br />'.ko_html(stripcslashes($comment_changes));
}

$tpl_person[$p_counter]['user'] = $logins[$log['user_id']]['login'];
Expand Down

0 comments on commit 15d1844

Please sign in to comment.