From cdb0b859fe01a347b83fd2a1fc1e813cdada265e Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Sun, 30 Sep 2007 15:38:40 -0500 Subject: [PATCH] fix column spelling errors and inconsistency btwn kohastructure and Biblio.pm (editionreponsability). Signed-off-by: Chris Cormack --- C4/Biblio.pm | 10 +++++----- installer/kohastructure.sql | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index f086c4b5f1..71c7e09a74 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -1856,7 +1856,7 @@ sub GetMarcAuthors { $count_auth++; my $subfieldcode = $authors_subfield->[0]; my $value; - # deal with UNIMARC author responsability + # deal with UNIMARC author responsibility if ( $marcflavour ne 'MARC21' and ($authors_subfield->[0] eq '4') @@ -3346,7 +3346,7 @@ sub _koha_modify_biblioitem { $biblioitem->{'collectionissn'} = $dbh->quote( $biblioitem->{'collectionissn'} ); $biblioitem->{'collectionvolume'} = $dbh->quote( $biblioitem->{'collectionvolume'} ); $biblioitem->{'editionstatement'} = $dbh->quote( $biblioitem->{'editionstatement'} ); - $biblioitem->{'editionresponsability'} = $dbh->quote( $biblioitem->{'editionresponsability'} ); + $biblioitem->{'editionresponsibility'} = $dbh->quote( $biblioitem->{'editionresponsibility'} ); $biblioitem->{'ccode'} = $dbh->quote( $biblioitem->{'ccode'} ); $biblioitem->{'biblionumber'} = $dbh->quote( $biblioitem->{'biblionumber'} ); @@ -3371,7 +3371,7 @@ sub _koha_modify_biblioitem { collectionissn = $biblioitem->{'collectionissn'}, collectionvolume= $biblioitem->{'collectionvolume'}, editionstatement= $biblioitem->{'editionstatement'}, - editionresponsability= $biblioitem->{'editionresponsability'}, + editionresponsibility= $biblioitem->{'editionresponsibility'}, ccode = $biblioitem->{'ccode'} where biblionumber = $biblioitem->{'biblionumber'}"; @@ -3423,7 +3423,7 @@ sub _koha_add_biblioitem { place = ?, ccode = ?, collectiontitle = ?, collectionissn = ?, collectionvolume = ?, editionstatement= ?, - editionresponsability= ? + editionresponsibility= ? " ); my ($lcsort) = @@ -3444,7 +3444,7 @@ sub _koha_add_biblioitem { $lcsort, $biblioitem->{'ccode'}, $biblioitem->{'collectiontitle'},$biblioitem->{'collectionissn'}, $biblioitem->{'collectionvolume'},$biblioitem->{'editionstatement'}, - $biblioitem->{'editionresponsability'} + $biblioitem->{'editionresponsibility'} ); $sth->finish; return ($bibitemnum); diff --git a/installer/kohastructure.sql b/installer/kohastructure.sql index 12ad698e9e..7a07868230 100644 --- a/installer/kohastructure.sql +++ b/installer/kohastructure.sql @@ -395,7 +395,7 @@ CREATE TABLE `biblioitems` ( `collectionissn` text NOT NULL, `collectionvolume` mediumtext NOT NULL, `editionstatement` text NOT NULL, - `editionreponsability` text NOT NULL, + `editionresponsibility` text NOT NULL, `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `illus` varchar(255) default NULL, `pages` varchar(255) default NULL, -- 2.39.5