Skip to content
Snippets Groups Projects
Commit 0e61ba71 authored by Simon Potter's avatar Simon Potter
Browse files

prevent 'undefined' warning

parent 683dc423
No related branches found
No related tags found
No related merge requests found
......@@ -515,7 +515,7 @@ sub compare {
$detail = 1;
}
# if given anal is different from this, defined or not, then its different
if( defined $ana->$methodName() &&
if( defined $ana->$methodName() && defined $self->$methodName &&
( $self->$methodName() ne $ana->$methodName() )) {
return -1;
}
......
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