summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-03-09 13:06:06 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-03-09 13:06:06 -0600
commit796780078517c26803a7689ccd80931381de23ea (patch)
tree58b6f4a3151fa6d7bf252ffeb739b43571c15324 /httemplate
parent3e377fd17154c616c7f2746bd4babae2e9993ee3 (diff)
RT#21463 Option to show disabled package definitions [bug fix]
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/select-part_pkg.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/select-part_pkg.html b/httemplate/elements/select-part_pkg.html
index caceb5c34..1f7b42f86 100644
--- a/httemplate/elements/select-part_pkg.html
+++ b/httemplate/elements/select-part_pkg.html
@@ -154,7 +154,7 @@ if ( exists($opt{'classnum'}) && defined($opt{'classnum'}) ) {
# currently can't handle this, either
die 'Use of toggle_disabled with classnum has not been implemented'
- if exists $hash{'classnum'};
+ if $opt{'toggle_disabled'} && exists($hash{'classnum'});
# CAUTION: For proper functioning of toggle_disabled,
# please ensure changes to default options are synced with misc/xmlhttp-part_pkg.cgi