Allow setting an empty home page
commit4660892e5866f951860ed2aac6f69a7eed643599
authorLukas Fleischer <lfleischer@archlinux.org>
Sun, 3 Dec 2017 12:51:21 +0000 (3 13:51 +0100)
committerLukas Fleischer <lfleischer@archlinux.org>
Sun, 3 Dec 2017 12:52:28 +0000 (3 13:52 +0100)
tree3a14b0727d5596908becff9531a509633ed65e90
parent0333d475fa60acebdc57a195ff9fb3fc0bd4771d
Allow setting an empty home page

Since commit 4efba18 (Only allow valid HTTP(s) URLs as home page,
2017-11-05), the home page field in the account settings must be a valid
URL. However, this new check prevents from leaving the field empty. Keep
the check in place but skip it if the home page field is left empty.

Fixes FS#56550.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/lib/acctfuncs.inc.php