11 |
# If there is a value in the opacheader preference, insert it into opac_news |
11 |
# If there is a value in the opacheader preference, insert it into opac_news |
12 |
$dbh->do("INSERT INTO opac_news (branchcode, lang, title, content ) VALUES (NULL, 'opacheader_$langs[0]', '', '$opacheader')"); |
12 |
$dbh->do("INSERT INTO opac_news (branchcode, lang, title, content ) VALUES (NULL, ?, '', ?)", undef, "opacheader_$langs[0]", $opacheader); |