new feature: 'suppress_duplicates' issue #146 triggered with less than two minutes between posts having identical content.

This commit is contained in:
redmatrix
2015-11-19 16:05:47 -08:00
parent 4f81d64517
commit 8f94c721bf
3 changed files with 24 additions and 2 deletions

View File

@@ -395,9 +395,10 @@ function admin_page_site(&$a) {
}
/* Banner */
$banner = get_config('system', 'banner');
if($banner == false)
$banner = 'red';
if($banner === false)
$banner = get_config('system','sitename');
$banner = htmlspecialchars($banner);