[Koha-bugs] [Bug 5673] New: Incorrect Test of guarantorid

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 31 16:45:21 CET 2011


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

           Summary: Incorrect Test of guarantorid
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Patrons
        AssignedTo: colin.campbell at ptfs-europe.com
        ReportedBy: colin.campbell at ptfs-europe.com
         QAContact: koha-bugs at lists.koha-community.org
                CC: gmcharlt at gmail.com
   Estimated Hours: 0.0


Site reported odd addresses (missing some elements) for child and teen-age
users.

members/moremember.pl was checking guarantorid ne '0' 
as the default value is NULL i.e. undefined address was being built up using
non-data. 

correct test should be if (guarantorid) {

if defined not 0 not '' and not '0'!!

Checking other guarantorid tests for similar errors

-- 
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