Permalink
Browse files

Merge branch 'master' of git@github.com:lestrrat/pixis

  • Loading branch information...
2 parents 0459878 + 8d55859 commit 232277f2a56c890ae325feb8452e850a9bdc1030 @lestrrat lestrrat committed Apr 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/Pixis-Plugin-Event/lib/Pixis/API/Event.pm
@@ -197,7 +197,7 @@ sub get_registration_status {
my $order = Pixis::Registry->get(api => 'Order')->find($row->order_id);
if ($order) {
- if ($order->is_pending_accept || $order->is_pending_credit_check || $order->is_init) {
+ if ($order->amount > 0 && ($order->is_pending_accept || $order->is_pending_credit_check || $order->is_init)) {
return -1; # registered, but unpaid
} elsif ($order->is_done) {
return 1;

0 comments on commit 232277f

Please sign in to comment.