Avoid Notices #816

Merged
nupplaphil merged 4 commits from issue/6338-fix_notices into 2019.03-RC 2019-02-26 16:24:16 +01:00
Showing only changes of commit 8e902c2fe0 - Show all commits

[pageheader] code cleanup

Philipp Holzer 2019-02-26 15:47:58 +01:00
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -61,9 +61,9 @@ function pageheader_addon_settings(&$a,&$s) {
} }
function pageheader_addon_settings_post(&$a,&$b) { function pageheader_addon_settings_post(&$a, &$b) {
if(! is_site_admin()) if(!is_site_admin())
return; return;
if(!empty($_POST['pageheader-submit'])) { if(!empty($_POST['pageheader-submit'])) {