Bug 26908: (follow-up) Alter template check
This alters the template check to use the presence of the plugins arrayref rather than requiring a second call to check for plugins_enabled. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
0d438de018
commit
a10db1347d
|
|
@ -116,7 +116,6 @@ else {
|
|||
}
|
||||
|
||||
$template->param(
|
||||
plugins_enabled => C4::Context->config("enable_plugins"),
|
||||
code_qualifiers => [
|
||||
{
|
||||
code => '14',
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@
|
|||
[% END %]
|
||||
</select>
|
||||
</li>
|
||||
[% IF plugins_enabled %]
|
||||
[% IF plugins %]
|
||||
<li>
|
||||
<label for="plugin">Plugin: </label>
|
||||
<select name="plugin" id="plugin">
|
||||
|
|
|
|||
Loading…
Reference in New Issue