Bug 24661: (RM follow-up) Check lang is defined
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 25 Feb 2020 14:26:57 +0000 (14:26 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 25 Feb 2020 14:28:54 +0000 (14:28 +0000)
commitb2651484ed73fbfb178c82ef31f5bd89740e1589
tree9d5edd8e87d1ba9686aa6f59ee16a76b0aaed0ee
parentd7407055a891e723c7840739ff277b699668a56d
Bug 24661: (RM follow-up) Check lang is defined

This adds a check that the lang variable is defined before testing
against it. In normal operation this is likely a no-op, but it is
required for compiling templates during QA.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc