diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-19 16:05:47 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-19 16:05:47 -0800 |
commit | 8f94c721bffab9f2ee4aeb045fb81a9840013211 (patch) | |
tree | 6c69448ee7e3ea300a3788da09baa9de268a8469 /mod/admin.php | |
parent | 4f81d6451783f8f51b10b2636d68cde444041dc1 (diff) | |
download | volse-hubzilla-8f94c721bffab9f2ee4aeb045fb81a9840013211.tar.gz volse-hubzilla-8f94c721bffab9f2ee4aeb045fb81a9840013211.tar.bz2 volse-hubzilla-8f94c721bffab9f2ee4aeb045fb81a9840013211.zip |
new feature: 'suppress_duplicates' issue #146 triggered with less than two minutes between posts having identical content.
Diffstat (limited to 'mod/admin.php')
-rw-r--r-- | mod/admin.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/admin.php b/mod/admin.php index 3f1a69ca6..4b7cb3cd9 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -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); |