22 |
# If there is a value in the OpacNav preference, insert it into opac_news |
22 |
# If there is a value in the OpacNav preference, insert it into opac_news |
23 |
$dbh->do("INSERT INTO opac_news (branchcode, lang, title, content ) VALUES (NULL, ?, '', ?)", undef, "OpacNav_$lang", $opacnav); |
23 |
$dbh->do("INSERT INTO opac_news (branchcode, lang, title, content, published_on ) VALUES (NULL, ?, '', ?, CAST(NOW() AS date))", undef, "OpacNav_$lang", $opacnav); |