@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_17845.perl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/installer/data/mysql/atomicupdate/bug_17845.perl +++ a/installer/data/mysql/atomicupdate/bug_17845.perl @@ -2,10 +2,10 @@ $DBversion = 'XXX'; # will be replaced by the RM if( CheckVersion( $DBversion ) ) { $dbh->do( "DROP TABLE IF EXISTS printers" ); - if( !column_exists( 'branches', 'branchprinter' ) ) { - $dbh->do( "ALTER TABLE branches DROP COLUMN branchprinter" ); + if( column_exists( 'branches', 'branchprinter' ) ) { + $dbh->do( "ALTER TABLE branches DROP COLUMN branchprinter" ); } - + $dbh->do(qq{ DELETE FROM systempreferences WHERE variable = "printcirculationslips"} ); SetVersion( $DBversion ); --