@@ -, +, @@ --- .../data/mysql/atomicupdate/bug_22880-move-opacheader-to-news.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/installer/data/mysql/atomicupdate/bug_22880-move-opacheader-to-news.perl +++ a/installer/data/mysql/atomicupdate/bug_22880-move-opacheader-to-news.perl @@ -9,7 +9,7 @@ if( CheckVersion( $DBversion ) ) { |); if( $opacheader ){ # If there is a value in the opacheader preference, insert it into opac_news - $dbh->do("INSERT INTO opac_news (branchcode, lang, title, content ) VALUES (NULL, 'opacheader_$langs[0]', '', '$opacheader')"); + $dbh->do("INSERT INTO opac_news (branchcode, lang, title, content ) VALUES (NULL, ?, '', ?)", undef, "opacheader_$langs[0]", $opacheader); } # Remove the opacheader system preference $dbh->do("DELETE FROM systempreferences WHERE variable='opacheader'"); --