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

Mike Hansen wolfpac444 at users.sourceforge.net
Tue May 27 07:44:44 CEST 2003


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;





More information about the Koha-cvs mailing list