From: Jonathan Prykop Date: Wed, 9 Mar 2016 19:06:06 +0000 (-0600) Subject: RT#21463 Option to show disabled package definitions [bug fix] X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=796780078517c26803a7689ccd80931381de23ea RT#21463 Option to show disabled package definitions [bug fix] --- 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