http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5724 Fridolyn SOMERS <fridolyn.somers@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolyn.somers@gmail.com --- Comment #4 from Fridolyn SOMERS <fridolyn.somers@gmail.com> 2011-02-16 13:28:46 UTC --- (In reply to comment #1)
Created attachment 3104 [details] Proposed Patch
When adding UNION : my $fetch_sth = $dbh->prepare_cached("SELECT marc FROM biblioitems WHERE biblionumber = ? UNION SELECT marc from deletedbiblioitems where biblionumber=?"); $fetch_sth->execute($record_number); Shouldn't you add the parameter in execution of the query : $fetch_sth->execute($record_number, $record_number); -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.