]> git.koha-community.org Git - koha.git/commit
AddReserve had bogus prepare statement.
authorJoe Atzberger <joe.atzberger@liblime.com>
Tue, 13 Jan 2009 23:11:06 +0000 (17:11 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 6 Mar 2009 18:44:51 +0000 (12:44 -0600)
commit0c84d36353689d51d92d20d48d0298f5884298ba
tree6affb2a502b53ed4bb6dfa8bd59483558c0bc4af
parentefa79c13b2cf31c23a0c7122edc9934b2535b879
AddReserve had bogus prepare statement.

This patch was not fully tested because the actual behavior intended
by constraints 'o' and 'e' was apparently never implemented here.
But it had no chance of success as with:
    my $sth = $dbh->prepare("");

This uses the inteneded query, removes unneeded $sth->finish calls and
fixes *some* redeclaration of my $variables in the same scope, as
would be needed to run under warnings pragma.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Reserves.pm