View | Details | Raw Unified | Return to bug 14383
Collapse All | Expand All

(-)a/t/db_dependent/VirtualShelves.t (-1 / +1 lines)
Lines 137-143 for my $i (0..9){ Link Here
137
    }
137
    }
138
138
139
    if (defined $status) {
139
    if (defined $status) {
140
        is($countbefore, $countafter - 1, 'added bib to list');  # the bib has been successfuly added.
140
        is($countbefore, $countafter - 1, 'added bib to list');  # the bib has been successfully added.
141
    } else {
141
    } else {
142
        is($countbefore, $countafter, 'did not add duplicate bib to list');
142
        is($countbefore, $countafter, 'did not add duplicate bib to list');
143
    }
143
    }
(-)a/t/db_dependent/check_sysprefs.t (-1 / +1 lines)
Lines 46-52 check_db($ref_syspref); Link Here
46
#
46
#
47
# Get sysprefs from SQL file populating sysprefs table with INSERT statement.
47
# Get sysprefs from SQL file populating sysprefs table with INSERT statement.
48
#
48
#
49
# Exemple:
49
# Example:
50
# INSERT INTO `systempreferences` (variable,value,explanation,options,type)
50
# INSERT INTO `systempreferences` (variable,value,explanation,options,type)
51
# VALUES('AmazonLocale','US','Use to set the Locale of your Amazon.com Web Services',
51
# VALUES('AmazonLocale','US','Use to set the Locale of your Amazon.com Web Services',
52
# 'US|CA|DE|FR|JP|UK','Choice')
52
# 'US|CA|DE|FR|JP|UK','Choice')
(-)a/tools/import_borrowers.pl (-1 / +1 lines)
Lines 278-284 if ( $uploadborrowers && length($uploadborrowers) > 0 ) { Link Here
278
            }
278
            }
279
            unless (ModMember(%borrower)) {
279
            unless (ModMember(%borrower)) {
280
                $invalid++;
280
                $invalid++;
281
                # untill we have better error trapping, we have no way of knowing why ModMember errored out...
281
                # until we have better error trapping, we have no way of knowing why ModMember errored out...
282
                push @errors, {unknown_error => 1};
282
                push @errors, {unknown_error => 1};
283
                $template->param('lastinvalid'=>$borrower{'surname'}.' / '.$borrowernumber);
283
                $template->param('lastinvalid'=>$borrower{'surname'}.' / '.$borrowernumber);
284
                next LINE;
284
                next LINE;
(-)a/tools/inventory.pl (-2 / +2 lines)
Lines 275-281 if ( $markseen or $op ) { Link Here
275
275
276
# If "compare barcodes list to results" has been checked, we want to alert for missing items
276
# If "compare barcodes list to results" has been checked, we want to alert for missing items
277
if ( $compareinv2barcd ) {
277
if ( $compareinv2barcd ) {
278
    # set "missing" flags for all items with a datelastseen (dls) before the choosen datelastseen (cdls)
278
    # set "missing" flags for all items with a datelastseen (dls) before the chosen datelastseen (cdls)
279
    my $dls = output_pref( { dt => dt_from_string( $datelastseen ),
279
    my $dls = output_pref( { dt => dt_from_string( $datelastseen ),
280
                             dateformat => 'iso' } );
280
                             dateformat => 'iso' } );
281
    foreach my $item ( @$inventorylist ) {
281
    foreach my $item ( @$inventorylist ) {
Lines 292-298 if ( $compareinv2barcd ) { Link Here
292
292
293
293
294
# insert "wrongplace" to all scanned items that are not supposed to be in this range
294
# insert "wrongplace" to all scanned items that are not supposed to be in this range
295
# note this list is always displayed, whatever the librarian has choosen for comparison
295
# note this list is always displayed, whatever the librarian has chosen for comparison
296
my $moddatecount = 0;
296
my $moddatecount = 0;
297
foreach my $item ( @scanned_items ) {
297
foreach my $item ( @scanned_items ) {
298
298
(-)a/tools/letter.pl (-1 / +1 lines)
Lines 401-407 sub add_fields { Link Here
401
401
402
sub get_columns_for {
402
sub get_columns_for {
403
    my $table = shift;
403
    my $table = shift;
404
# FIXME untranslateable
404
# FIXME untranslatable
405
    my %column_map = (
405
    my %column_map = (
406
        aqbooksellers => '---BOOKSELLERS---',
406
        aqbooksellers => '---BOOKSELLERS---',
407
        aqorders      => '---ORDERS---',
407
        aqorders      => '---ORDERS---',
(-)a/virtualshelves/sendshelf.pl (-1 / +1 lines)
Lines 168-174 END_OF_BODY Link Here
168
        $template->param( SENT => "1" );
168
        $template->param( SENT => "1" );
169
    }
169
    }
170
    else {
170
    else {
171
        # do something if it doesnt work....
171
        # do something if it doesn't work....
172
        carp "Error sending mail: $Mail::Sendmail::error \n";
172
        carp "Error sending mail: $Mail::Sendmail::error \n";
173
        $template->param( error => 1 );
173
        $template->param( error => 1 );
174
    }
174
    }
(-)a/xt/author/valid-templates.t (-1 / +1 lines)
Lines 127-133 sub create_template_test { Link Here
127
127
128
=head1 AUTHOR
128
=head1 AUTHOR
129
129
130
Koha Developement Team <http://koha-community.org>
130
Koha Development Team <http://koha-community.org>
131
131
132
Chris Cormack <chrisc@catalyst.net.nz>
132
Chris Cormack <chrisc@catalyst.net.nz>
133
133
(-)a/xt/permissions.t (-1 / +1 lines)
Lines 55-61 foreach my $file_name ( @trans_perms_files ) { Link Here
55
# Get user permissions from SQL file populating permissions table with INSERT
55
# Get user permissions from SQL file populating permissions table with INSERT
56
# statement.
56
# statement.
57
#
57
#
58
# Exemple:
58
# Example:
59
#  INSERT INTO permissions (module_bit, code, description) VALUES
59
#  INSERT INTO permissions (module_bit, code, description) VALUES
60
#  ( 1, 'override_renewals', 'Override blocked renewals'),
60
#  ( 1, 'override_renewals', 'Override blocked renewals'),
61
#
61
#
(-)a/xt/tt_valid.t (-2 / +1 lines)
Lines 114-120 For the time being, two validations are done: Link Here
114
114
115
  <li[% IF
115
  <li[% IF
116
116
117
This kind of constuction MUST be avoided because it break Koha translation
117
This kind of construction MUST be avoided because it breaks Koha translation
118
process.
118
process.
119
119
120
[2] Test tag <body> tags have both attibutes 'id' and 'class'
120
[2] Test tag <body> tags have both attibutes 'id' and 'class'
121
- 

Return to bug 14383