[Koha-cvs] koha/admin itemtypes.pl

Antoine Farnault antoine at koha-fr.org
Fri Jun 8 11:42:18 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	Antoine Farnault <toins>	07/06/08 09:42:18

Modified files:
	admin          : itemtypes.pl 

Log message:
	re-indent + little bugfix : '' instead of undef.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/admin/itemtypes.pl?cvsroot=koha&r1=1.28&r2=1.29

Patches:
Index: itemtypes.pl
===================================================================
RCS file: /sources/koha/koha/admin/itemtypes.pl,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- itemtypes.pl	24 Apr 2007 13:54:28 -0000	1.28
+++ itemtypes.pl	8 Jun 2007 09:42:18 -0000	1.29
@@ -205,11 +205,7 @@
 	    $input->param('renewalsallowed'),
         $input->param('rentalcharge'),
 		$input->param('notforloan') ? 1 : 0,
-            $input->param('image') eq 'removeImage'
-            ? undef
-            : $input->param('image') eq 'remoteImage'
-                ? $input->param('remoteImage')
-                : $input->param('image'),
+                $input->param('image') eq 'removeImage' ? '' : $input->param('image') eq 'remoteImage' ? $input->param('remoteImage') : $input->param('image'),
         $input->param('summary'),
         );
     }





More information about the Koha-cvs mailing list