[Koha-bugs] [Bug 4954] modifying a member renew his card

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 7 15:18:40 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4954

--- Comment #2 from Owen Leonard <oleonard at myacpl.org>  ---
Testing on HEAD:

1. Chose patron record with expiration date 2005-05-10.

2. Opened the patron record for editing by clicking a "step 6" link:
/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=XX&step=6

3. Edited record, clicked "Save."

4. Patron expiration date has not changed.

Here's the same code section from the file in HEAD:

if ($op eq 'modify' || $op eq 'insert' || $op eq 'save' ){
    if (exists ($newdata{'dateexpiry'}) && !($newdata{'dateexpiry'})){
        my $arg2 = $newdata{'dateenrolled'} || C4::Dates->today('iso');
        $newdata{'dateexpiry'} = GetExpiryDate($newdata{'categorycode'},$arg2);
    }
}

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list