Bug 15497: (RM follow-up) Fix for new itemtype case
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 13 Sep 2019 06:51:53 +0000 (07:51 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 13 Sep 2019 06:52:36 +0000 (07:52 +0100)
commit55f56c09ddfac59967d21ad0a37e7c7686439642
tree018e0a7771f5f02d78612a1a63d8667cab3f4363
parent072a901d35844e99db65c1069b52f4f8b5ad6e5a
Bug 15497: (RM follow-up) Fix for new itemtype case

When creating an entirely new itemtype the script would fail upon
attempting to lookup existing itemtype branch limits. This patch adds a
ternary to prevent the failure.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
admin/itemtypes.pl