Bug 18789: (follow-up) Fix place hold page
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Mar 2018 19:55:51 +0000 (16:55 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Mar 2018 20:00:25 +0000 (17:00 -0300)
commit5bdd4c02af25873aed550bd1e312d07fa9b229f0
tree292cde495e939626e8399509829d6b0a37cb8d3b
parent0d553fa72111c9168d07ae218bdcfc31761db631
Bug 18789: (follow-up) Fix place hold page

This patch fixes very weird behaviours introduced by
  commit 0ab22e1c7c6b6e8d14a4fb7478ab2a3d42da347d
  Bug 18789: Send Koha::Patron object to the templates

The patron variable was only set when no action was defined.
This patch restores the feature the easiest way possible (less changes)
even if it is not the best one.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
reserve/request.pl