Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/RT/Handle.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/RT/Handle.pm b/lib/RT/Handle.pm
index 4b36c123b1..3f741fa7ff 100644
--- a/lib/RT/Handle.pm
+++ b/lib/RT/Handle.pm
@@ -863,6 +863,8 @@ sub InsertData {
local $@;
+ # Get the full path since . is no longer in @INC after perl 5.24
+ $datafile = Cwd::abs_path($datafile);
$RT::Logger->debug("Going to load '$datafile' data file");
my $datafile_content = do {