From 172ec022842391b23deb3f378d2ae32dc25fc8da Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 22 Apr 2009 15:49:20 +0000 Subject: [PATCH] use string comparator git-svn-id: svn://svn.open-ils.org/ILS/trunk@12960 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Trigger/Event.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.11.0