projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b402f8
)
fixes SQL typo and return value in GetImportBatchStatus()
author
Mason James
<mason.loves.sushi@gmail.com>
Mon, 2 Feb 2009 12:33:21 +0000
(
01:33
+1300)
committer
Galen Charlton
<galen.charlton@liblime.com>
Mon, 2 Feb 2009 14:20:57 +0000
(08:20 -0600)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/ImportBatch.pm
patch
|
blob
|
history
diff --git
a/C4/ImportBatch.pm
b/C4/ImportBatch.pm
index
f978d04
..
03ef819
100644
(file)
--- a/
C4/ImportBatch.pm
+++ b/
C4/ImportBatch.pm
@@
-869,15
+869,14
@@
sub GetImportBatchStatus {
my ($batch_id) = @_;
my $dbh = C4::Context->dbh;
- my $sth = $dbh->prepare("SELECT import_status FROM import_batches WHERE batch_id = ?");
+ my $sth = $dbh->prepare("SELECT import_status FROM import_batches WHERE
import_
batch_id = ?");
$sth->execute($batch_id);
my ($status) = $sth->fetchrow_array();
$sth->finish();
- return;
+ return
$status
;
}
-
=head2 SetImportBatchStatus
=over 4