Use ne on line 631 of Actor.pm.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 19 Oct 2011 20:47:03 +0000 (16:47 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 1 Nov 2011 16:44:21 +0000 (12:44 -0400)
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 <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm

index ad6fabc..03a20aa 100644 (file)
@@ -628,7 +628,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;
 }