bug fixed: ItemType function seems to have vanished. I replace by the
authorplg <plg>
Fri, 31 Mar 2006 15:56:27 +0000 (15:56 +0000)
committerplg <plg>
Fri, 31 Mar 2006 15:56:27 +0000 (15:56 +0000)
description key returned by C4::Koha::getitemtypeinfo.

members/moremember.pl

index d90e74a..0a3e4fb 100755 (executable)
@@ -177,7 +177,7 @@ for (my $i=0;$i<$count;$i++){
        # return the correct item type either (or a properly-formatted
        # charge, for that matter).
        my ($charge,$itemtype)=calc_charges($dbh,$issue->[$i]{'itemnumber'},$bornum);
-       $row{'itemtype'}=&ItemType($itemtype);
+       $row{'itemtype'} = getitemtypeinfo($itemtype)->{description};
        $row{'charge'}= sprintf("%.2f",$charge);
 
        #check item is not reserved