Commit 63313381 authored by Xavier Guimard's avatar Xavier Guimard

Fix warning in inheritance

parent 5afeddcb
...@@ -47,7 +47,7 @@ sub init { ...@@ -47,7 +47,7 @@ sub init {
. $mods[$type]; . $mods[$type];
my $over; my $over;
if ( $mods[5] ) { if ( $mods[5] ) {
eval { $over = from_json( $mods[5] ) }; eval { $over = JSON::from_json( $mods[5] ) };
if ($@) { if ($@) {
$self->logger->error("Bad over value ($@), skipped"); $self->logger->error("Bad over value ($@), skipped");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment