Bug 13948: Prevent explosion when Template::Plugin::Stash not installed
authorMark Tompsett <mtompset@hotmail.com>
Fri, 15 May 2015 04:49:18 +0000 (00:49 -0400)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Tue, 28 Jul 2015 13:30:21 +0000 (10:30 -0300)
commitc0a52bb1981cea372033ccac02430cba761d3def
treeef84bb3531b6b193a61d47b61033f7ba4af9ca4a
parentdaab662c7cf8f91ef5e431393da86a985eb309c3
Bug 13948: Prevent explosion when Template::Plugin::Stash not installed

TEST PLAN
---------
1) Install first two patches
2) do not install, or uninstall Template::Plugin::Stash
3) Upgrade to make sure system preference is added.
4) Set the system preference to turn it on for Staff and OPAC
5) Refresh staff -- kaboom
6) Load OPAC -- kaboom
7) Apply this patch
8) Reload staff and OPAC
   -- nice HTML comment about what is wrong.
9) run koha qa test tools.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Neat, runs well. Tested with/without sysprefs and Template::Plugin::Stash
No koha-qa errors

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc