Skip to content

Commit

Permalink
Idiot
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Sep 26, 2023
1 parent 3683ee2 commit 89f4523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings/s_sitecontact.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function store_value(Si $si, SettingValues $sv) {
return;
}
$newemail = $sv->newv("site_contact_email") ?? "";
$oldemail = self::basev($sv, "site_contact_name");
$oldemail = self::basev($sv, "site_contact_email");
if ($newemail !== ""
&& $newemail !== $oldemail
&& strcasecmp($newemail, $defuser->email) !== 0) {
Expand Down

0 comments on commit 89f4523

Please sign in to comment.