Skip to content

A free, self-hostable news aggregator…

Change test on URL parameter

Alexis Degrugillier339a0dd49c79
diff --git a/app/Models/Configuration.php b/app/Models/Configuration.php
index 3e5cd8bad..80031369e 100644
--- a/app/Models/Configuration.php
+++ b/app/Models/Configuration.php
@@ -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', '<') &&