mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-24 16:25:00 -04:00
Change test on URL parameter
This commit is contained in:
@@ -195,7 +195,7 @@ class FreshRSS_Configuration {
|
||||
}
|
||||
|
||||
// Verify URL and add default value when needed
|
||||
if (array_key_exists('url', $value) && $value['url'] !== null) {
|
||||
if (isset($value['url'])) {
|
||||
$is_url = (
|
||||
filter_var ($value['url'], FILTER_VALIDATE_URL) ||
|
||||
(version_compare(PHP_VERSION, '5.3.3', '<') &&
|
||||
|
||||
Reference in New Issue
Block a user