X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FPlugin.pm;h=ef3ee95728469284b1782d9737ca57a5346cfed6;hp=76af07903436e2bf08e5025cb3eace3ee34563c4;hb=187086c479a09629b7d180eec513fb7657f4e291;hpb=4639e25a658d9a0bf295415642fae8e8cdad846a diff --git a/rt/lib/RT/Plugin.pm b/rt/lib/RT/Plugin.pm index 76af07903..ef3ee9572 100644 --- a/rt/lib/RT/Plugin.pm +++ b/rt/lib/RT/Plugin.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2018 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -92,7 +92,8 @@ Returns the extension version. sub Version { my $self = shift; - return $self->Name->VERSION; + no strict 'refs'; + return ${$self->Name . '::VERSION'}; } =head2 Path