diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-05-27 15:20:05 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-05-30 13:00:41 -0700 |
commit | 0ea23112cfa0d82738b0f08d60d90579721b7524 (patch) | |
tree | 392dee3654d0f3839944f748819a39c8ce20192c /rt/lib/RT.pm | |
parent | 60dd95422a1ad4724e0c5d9dd7f8e8878cd96aa8 (diff) |
rt 4.0.20 (RT#13852)
Diffstat (limited to 'rt/lib/RT.pm')
-rw-r--r-- | rt/lib/RT.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rt/lib/RT.pm b/rt/lib/RT.pm index 0f0c79a55..e71d6c926 100644 --- a/rt/lib/RT.pm +++ b/rt/lib/RT.pm @@ -707,7 +707,9 @@ sub InitPluginPaths { my @tmp_inc; my $added; for (@INC) { - if ( Cwd::realpath($_) eq $RT::LocalLibPath) { + my $realpath = Cwd::realpath($_); + next unless defined $realpath; + if ( $realpath eq $RT::LocalLibPath) { push @tmp_inc, $_, @lib_dirs; $added = 1; } else { |