typos
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 07:34:22 +0000 (07:34 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 07:34:22 +0000 (07:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5995 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Actor.pm

index 7194267..7efc925 100644 (file)
@@ -1858,7 +1858,7 @@ sub user_transaction_history {
        return $e->event unless $e->allowed('VIEW_USER_TRANSACTIONS');
 
        my $api = $self->api_name;
-       my @xact_finish  = (xact_finish => undef ) if $api =~ /still_open/;
+       my @xact_finish  = (xact_finish => undef ) if ($api !~ /history$/);
 
        my @xacts = @{ $e->search_money_billable_transaction(
                [       { usr => $userid, @xact_finish },