From: erickson Date: Wed, 22 Apr 2009 15:49:20 +0000 (+0000) Subject: use string comparator X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=172ec022842391b23deb3f378d2ae32dc25fc8da;p=evergreen%2Fbjwebb.git use string comparator git-svn-id: svn://svn.open-ils.org/ILS/trunk@12960 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Event.pm b/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Event.pm index 119954366..07a27aea4 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Event.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Event.pm @@ -16,7 +16,7 @@ sub new { my $editor = shift; $class = ref($class) || $class; - return $id if (ref($id) && ref($id) == $class); + return $id if (ref($id) && ref($id) eq $class); my $standalone = $editor ? 0 : 1; $editor ||= new_editor();