https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16694

Magnus Enger <mag...@libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #3 from Magnus Enger <mag...@libriotech.no> ---
I can't seem to be able to turn "64  " into "64YY", no matter what I set the
extended patron attribute is set to. I think this is because the default values
for charge_ok and renew_ok are 1, so by only setting them to 1 the patches
never changes them. Something like this should work, I think:

            if ($attr || $attr == "1") {
                syslog( "LOG_ERR", "attr OK" );
                $patron->{charge_ok} = 1; 
                $patron->{renew_ok} = 1; 
            } else {
                $patron->{charge_ok} = 0; 
                $patron->{renew_ok} = 0; 
            }

Otherwise, this looks OK, so it should be an easy fix/followup.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to