koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/admin branches.pl,1.20,1.21


From: Mike Hansen
Subject: [Koha-cvs] CVS: koha/admin branches.pl,1.20,1.21
Date: Mon, 26 May 2003 22:44:44 -0700

Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv7176/koha/admin

Modified Files:
        branches.pl 
Log Message:
Fixed bug that occurs when no branch information is entered (Bug #467)


Index: branches.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/branches.pl,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** branches.pl 13 May 2003 15:43:17 -0000      1.20
--- branches.pl 27 May 2003 05:44:41 -0000      1.21
***************
*** 283,287 ****
                        'branchphone', 'branchfax', 'branchemail') {
                        $row{$field} = $branch->{$field};
!                       $address_empty_p = 0;
                }
                $row{'address-empty-p'} = $address_empty_p;
--- 283,289 ----
                        'branchphone', 'branchfax', 'branchemail') {
                        $row{$field} = $branch->{$field};
!                       if ( $branch->{$field} ) {
!                               $address_empty_p = 0;
!                       }
                }
                $row{'address-empty-p'} = $address_empty_p;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]