From: Jason Stephenson Date: Wed, 19 Oct 2011 20:47:03 +0000 (-0400) Subject: Use ne on line 631 of Actor.pm. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2a16698bec2e5cc210c6f2bc10c6389c78b5293d;p=contrib%2FConifer.git Use ne on line 631 of Actor.pm. This is so that we stop getting errors like Argument "1319057146.8881216485.4819607085" isn't numeric in numeric ne (!=) at /usr/local/share/perl/5.10.1/OpenILS/Application/Actor.pm line 630. in /openils/var/log/open-ils.actor_stderr.log Signed-off-by: Jason Stephenson Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm index f05d165e1e..ff8fbefdfd 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm @@ -623,7 +623,7 @@ sub verify_last_xact { return undef unless $xact; $logger->info("user xact = $xact, saving with xact " . $patron->last_xact_id); return OpenILS::Event->new('XACT_COLLISION') - if $xact != $patron->last_xact_id; + if $xact ne $patron->last_xact_id; return undef; }