diff --git a/Web/Presenters/GroupPresenter.php b/Web/Presenters/GroupPresenter.php index 1b2992d6..de55c569 100644 --- a/Web/Presenters/GroupPresenter.php +++ b/Web/Presenters/GroupPresenter.php @@ -208,9 +208,9 @@ final class GroupPresenter extends OpenVKPresenter $website = $this->postParam("website") ?? ""; if(empty($website)) - $user->setWebsite(NULL); + $club->setWebsite(NULL); else - $user->setWebsite((!parse_url($website, PHP_URL_SCHEME) ? "https://" : "") . $website); + $club->setWebsite((!parse_url($website, PHP_URL_SCHEME) ? "https://" : "") . $website); if($_FILES["ava"]["error"] === UPLOAD_ERR_OK) { $photo = new Photo;