[Koha-bugs] [Bug 26268] Remove items.paidfor once and for all

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 4 09:25:19 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26268

--- Comment #14 from Julian Maurice <julian.maurice at biblibre.com> ---
Comment on attachment 108812
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=108812
Bug 26268: Remove items.paidfor from the database

Review of attachment 108812:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=26268&attachment=108812)
-----------------------------------------------------------------

::: installer/data/mysql/atomicupdate/bug_26268.perl
@@ +1,4 @@
> +$DBversion = 'XXX'; # will be replaced by the RM
> +if( CheckVersion( $DBversion ) ) {
> +
> +    if( !column_exists( 'items', 'paidfor' ) ) {

It should be column_exists, not !column_exists.
And in my opinion we should also check for deleteditems.paidfor existence

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list