Bug 2419: require Exporter

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Joe Atzberger 2008-08-27 09:32:26 -05:00 committed by Henri-Damien LAURENT
parent ae172a74ed
commit c72d04af84
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ use vars qw($VERSION @ISA @EXPORT);
BEGIN {
# set the version for version checking
$VERSION = 3.01;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(
&GetBookSeller &GetBooksellersWithLateOrders &GetBookSellerFromId
@ -195,6 +196,7 @@ sub AddBookseller {
);
# return the id of this new supplier
# FIXME: no protection against simultaneous addition: max(id) might be wrong!
$query = "
SELECT max(id)
FROM aqbooksellers