Permalink
Browse files

[#16894109] suppress privacy sensitive info from OPAC fines display

  • Loading branch information...
1 parent c4da24c commit c01457bcc2e03d58ee6dc7820fa52c15529098e5 @hgq hgq committed Aug 11, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 opac/opac-account.pl
@@ -61,6 +61,9 @@
if ( $accts->[$i]{'amountoutstanding'} >= 0 ) {
$accts->[$i]{'amountoutstandingcredit'} = 1;
}
+ $accts->[$i]{'description'} //= '';
+ $accts->[$i]{'description'} =~ s/(\s*\(-cron\)\s*)//g;
+ $accts->[$i]{'description'} =~ s/\s*by a different patron(\s*\(.+?\)\s*)//g;
}
# add the row parity

0 comments on commit c01457b

Please sign in to comment.