diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-10-14 18:19:50 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-10-14 18:19:50 +0200 |
commit | ce00a61057535d49aa0e83181a1d317d7842571b (patch) | |
tree | 280243de9ff791449fb2c82f3f0f2b9bd931d5b2 /colchange.cgi | |
parent | 6367a26da4093a8379e370ef328e9507c98b2e7e (diff) | |
parent | 6657fa9f5210d5b5a9b14c0cba6882bd56232054 (diff) | |
download | bugzilla-ce00a61057535d49aa0e83181a1d317d7842571b.tar.gz bugzilla-ce00a61057535d49aa0e83181a1d317d7842571b.tar.xz |
Merge remote-tracking branch 'bmo/master'
Diffstat (limited to 'colchange.cgi')
-rwxr-xr-x | colchange.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/colchange.cgi b/colchange.cgi index 46d25ecdf..bc18c3851 100755 --- a/colchange.cgi +++ b/colchange.cgi @@ -20,6 +20,7 @@ use Bugzilla::Search::Saved; use Bugzilla::Error; use Bugzilla::User; use Bugzilla::Token; +use Module::Runtime qw(require_module); use Storable qw(dclone); @@ -58,7 +59,7 @@ foreach my $param (keys %{ COLUMN_PARAMS() }) { } foreach my $class (keys %{ COLUMN_CLASSES() }) { - eval("use $class; 1;") || die $@; + require_module($class); my $column = COLUMN_CLASSES->{$class}; delete $columns->{$column} if !$class->any_exist; } |