[Koha-cvs] CVS: koha/acqui newbasket2.pl,1.6,1.7

Andrew Arensburger arensb at users.sourceforge.net
Sun Oct 13 13:38:04 CEST 2002


Update of /cvsroot/koha/koha/acqui
In directory usw-pr-cvs1:/tmp/cvs-serv5395

Modified Files:
	newbasket2.pl 
Log Message:
Replaced expressions of the form "$x = $x <op> $y" with "$x <op>= $y".
Thus, $x = $x+2 becomes $x += 2, and so forth.


Index: newbasket2.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/newbasket2.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** newbasket2.pl	13 Oct 2002 06:30:50 -0000	1.6
--- newbasket2.pl	13 Oct 2002 11:38:02 -0000	1.7
***************
*** 165,213 ****
        $itemcount=$count;
        if ($nacount > 0){
!         $location=$location."On Loan";		# FIXME - .=
  	if ($nacount >1 ){
! 	  $location=$location." ($nacount)";	# FIXME - .=
           }
  	 $location.=" ";
        }
        if ($lcount > 0){
!          $location=$location."Levin";		# FIXME - .=
           if ($lcount >1 ){
! 	  $location=$location." ($lcount)";	# FIXME - .=
           }
  	 $location.=" ";
        }
        if ($fcount > 0){
!         $location=$location."Foxton";		# FIXME - .=
           if ($fcount >1 ){
! 	  $location=$location." ($fcount)";	# FIXME - .=
           }
  	 $location.=" ";
        }
        if ($scount > 0){
!         $location=$location."Shannon";		# FIXME - .=
           if ($scount >1 ){
! 	  $location=$location." ($scount)";	# FIXME - .=
           }
  	 $location.=" ";
        }
        if ($lostcount > 0){
!         $location=$location."Lost";		# FIXME - .=
           if ($lostcount >1 ){
! 	  $location=$location." ($lostcount)";	# FIXME - .=
           }
  	 $location.=" ";
        }
        if ($mending > 0){
!         $location=$location."Mending";		# FIXME - .=
           if ($mending >1 ){
! 	  $location=$location." ($mending)";	# FIXME - .=
           }
  	 $location.=" ";
        }
        if ($transit > 0){
!         $location=$location."In Transiit";	# FIXME - .=
           if ($transit >1 ){
! 	  $location=$location." ($transit)";	# FIXME - .=
           }
  	 $location.=" ";
--- 165,213 ----
        $itemcount=$count;
        if ($nacount > 0){
!         $location .= "On Loan";
  	if ($nacount >1 ){
! 	  $location .= " ($nacount)";
           }
  	 $location.=" ";
        }
        if ($lcount > 0){
!          $location .= "Levin";
           if ($lcount >1 ){
! 	  $location .= " ($lcount)";
           }
  	 $location.=" ";
        }
        if ($fcount > 0){
!         $location .= "Foxton";
           if ($fcount >1 ){
! 	  $location .= " ($fcount)";
           }
  	 $location.=" ";
        }
        if ($scount > 0){
!         $location .= "Shannon";
           if ($scount >1 ){
! 	  $location .= " ($scount)";
           }
  	 $location.=" ";
        }
        if ($lostcount > 0){
!         $location .= "Lost";
           if ($lostcount >1 ){
! 	  $location .= " ($lostcount)";
           }
  	 $location.=" ";
        }
        if ($mending > 0){
!         $location .= "Mending";
           if ($mending >1 ){
! 	  $location .= " ($mending)";
           }
  	 $location.=" ";
        }
        if ($transit > 0){
!         $location .= "In Transit";
           if ($transit >1 ){
! 	  $location .= " ($transit)";
           }
  	 $location.=" ";





More information about the Koha-cvs mailing list