]> git.koha-community.org Git - koha.git/commit
Bug 16125: Remove the flagged boolean in circ/circulation.tt
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 23 Mar 2016 16:04:47 +0000 (16:04 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 24 Mar 2016 15:38:49 +0000 (15:38 +0000)
commit692d1a1053276b2c6312d25fd2a940fa748db739
tree1a577247def0c4a95179220013e054af8fea276c
parent300bf096bda90a0f17c6615798957fa7f588b36e
 Bug 16125: Remove the flagged boolean in circ/circulation.tt

Before 15632, flagged was passed in any cases: GetMessages returned an
arrayref, so:
  my $bor_messages_loop = GetMessages( $borrowernumber, 'B', $branch );
  if($bor_messages_loop){ $template->param(flagged => 1 ); }
set 'flagged'.

It seems that this variable is not needed as it's always set.

Test plan:
Confirm that the "Add a new message" link is always displayed (even if
no message exist).
Note that a "Attention" is displayed but should not, that already
existed before bug 15632.

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt