diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-09 13:06:06 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-11 19:42:13 -0600 |
commit | 5eb7abe177a12aff466629f05fd1a0cf934fd489 (patch) | |
tree | 605b8a301d848dd5427be49fbe2fff6e7f10ff8b /httemplate | |
parent | 953599b551437744b6385496d425117e468b0851 (diff) |
RT#21463 Option to show disabled package definitions [bug fix]
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/select-part_pkg.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/select-part_pkg.html b/httemplate/elements/select-part_pkg.html index 715ae99c0..d9f1fc90d 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 |