Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:lestrrat/pixis
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Apr 14, 2009
2 parents 0459878 + 8d55859 commit 232277f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Pixis-Plugin-Event/lib/Pixis/API/Event.pm
Expand Up @@ -197,7 +197,7 @@ sub get_registration_status {


my $order = Pixis::Registry->get(api => 'Order')->find($row->order_id); my $order = Pixis::Registry->get(api => 'Order')->find($row->order_id);
if ($order) { 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 return -1; # registered, but unpaid
} elsif ($order->is_done) { } elsif ($order->is_done) {
return 1; return 1;
Expand Down

0 comments on commit 232277f

Please sign in to comment.