[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/bookshelves addbookbybiblionumber.pl [rel_3_0]
From: |
paul poulain |
Subject: |
[Koha-cvs] koha/bookshelves addbookbybiblionumber.pl [rel_3_0] |
Date: |
Mon, 30 Oct 2006 09:48:19 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: paul poulain <tipaul> 06/10/30 09:48:19
Modified files:
bookshelves : addbookbybiblionumber.pl
Log message:
samll bugfix to create a bookshelf correctly
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/bookshelves/addbookbybiblionumber.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.4.2.2&r2=1.4.2.3
Patches:
Index: addbookbybiblionumber.pl
===================================================================
RCS file: /sources/koha/koha/bookshelves/addbookbybiblionumber.pl,v
retrieving revision 1.4.2.2
retrieving revision 1.4.2.3
diff -u -b -r1.4.2.2 -r1.4.2.3
--- addbookbybiblionumber.pl 30 Aug 2006 16:13:54 -0000 1.4.2.2
+++ addbookbybiblionumber.pl 30 Oct 2006 09:48:19 -0000 1.4.2.3
@@ -20,7 +20,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
-# $Id: addbookbybiblionumber.pl,v 1.4.2.2 2006/08/30 16:13:54 toins Exp $
+# $Id: addbookbybiblionumber.pl,v 1.4.2.3 2006/10/30 09:48:19 tipaul Exp $
=head1 NAME
@@ -86,7 +86,7 @@
$shelfnumber = AddShelf($newbookshelf,$loggedinuser,$category) if
$newbookshelf;
-if ($shelfnumber && ($shelfnumber == -1)) { # this shelf already exist.
+if ($shelfnumber || ($shelfnumber == -1)) { # the shelf already exist.
&AddToShelfFromBiblio($biblionumber, $shelfnumber);
print "Content-Type: text/html\n\n<html><body
onload=\"window.close()\"></body></html>";
exit;
@@ -123,6 +123,9 @@
}
# $Log: addbookbybiblionumber.pl,v $
+# Revision 1.4.2.3 2006/10/30 09:48:19 tipaul
+# samll bugfix to create a bookshelf correctly
+#
# Revision 1.4.2.2 2006/08/30 16:13:54 toins
# correct an error in the "if condition".
#
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/bookshelves addbookbybiblionumber.pl [rel_3_0],
paul poulain <=