[open-ils-commits] r12961 - trunk/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 22 11:56:26 EDT 2009
Author: erickson
Date: 2009-04-22 11:56:23 -0400 (Wed, 22 Apr 2009)
New Revision: 12961
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
Log:
when only one cstore clause is passed to an editor query, no need for containing array
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2009-04-22 15:49:20 UTC (rev 12960)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2009-04-22 15:56:23 UTC (rev 12961)
@@ -503,10 +503,10 @@
my $editor = new_editor();
- return $editor->search_action_trigger_event([
+ return $editor->search_action_trigger_event(
{ state => 'pending', run_time => {'<' => 'now'} },
{ idlist=> 1 }
- ]);
+ );
}
__PACKAGE__->register_method(
api_name => 'open-ils.trigger.event.find_pending',
More information about the open-ils-commits
mailing list