projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
share
/
html
/
Admin
/
Elements
/
EditCustomFieldValuesSource
diff --git
a/rt/share/html/Admin/Elements/EditCustomFieldValuesSource
b/rt/share/html/Admin/Elements/EditCustomFieldValuesSource
index
3aecf7c
..
c1fe614
100644
(file)
--- a/
rt/share/html/Admin/Elements/EditCustomFieldValuesSource
+++ b/
rt/share/html/Admin/Elements/EditCustomFieldValuesSource
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-60,9
+60,7
@@
my @sources;
foreach my $class( 'RT::CustomFieldValues', RT->Config->Get('CustomFieldValuesSources') ) {
next unless $class;
foreach my $class( 'RT::CustomFieldValues', RT->Config->Get('CustomFieldValuesSources') ) {
next unless $class;
- local $@;
- eval "require $class";
- if( $@ ) {
+ unless ($class->require) {
$RT::Logger->crit("Couldn't load class '$class': $@");
next;
}
$RT::Logger->crit("Couldn't load class '$class': $@");
next;
}