koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/admin itemtypes.pl


From: Antoine Farnault
Subject: [Koha-cvs] koha/admin itemtypes.pl
Date: Fri, 08 Jun 2007 09:42:18 +0000

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'),
         );
     }




reply via email to

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