Adding borrowernotes to the list of flags to trigger the 'flagged' variable. This helps display of flags and notes mimic the display in circulation

This commit is contained in:
oleonard 2005-02-09 22:18:01 +00:00
parent f66cc8fd67
commit 228ed8afc8
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ $data->{'expiry'} = format_date($data->{'expiry'});
$data->{'dateofbirth'} = format_date($data->{'dateofbirth'});
$data->{'IS_ADULT'} = ($data->{'categorycode'} ne 'I');
if($data->{'debarred'} || $data->{'gonenoaddress'} || $data->{'lost'}){
if($data->{'debarred'} || $data->{'gonenoaddress'} || $data->{'lost'} || $data->{'borrowernotes'}){
$template->param(flagged =>1);
}