Skip to content

Instantly share code, notes, and snippets.

@berick
Created January 31, 2017 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save berick/c70c08580a5f4ff9a8b1b3997ac6bee0 to your computer and use it in GitHub Desktop.
Save berick/c70c08580a5f4ff9a8b1b3997ac6bee0 to your computer and use it in GitHub Desktop.
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm
index 91c7994..e66993c 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm
@@ -435,7 +435,7 @@ sub update_state {
return undef;
}
$log->info( "Update of event ".$e->id." suceeded" );
- $ok = $self->editor->xact_commit if ($self->standalone);
+ $ok = $self->editor->commit if ($self->standalone);
}
if ($ok) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment