diff options
| author | 2014-03-08 09:23:59 -0500 | |
|---|---|---|
| committer | 2014-03-08 09:23:59 -0500 | |
| commit | 339a0dd49c79b9adba67483a3cab55c4cb2e2066 (patch) | |
| tree | afbeafd9ae85211015873e2aa64c19f3a25358e2 /app/Models/Configuration.php | |
| parent | c2e9bfd0d7cddbadef272f2258b5fe1a5d1d26a6 (diff) | |
Change test on URL parameter
Diffstat (limited to 'app/Models/Configuration.php')
| -rw-r--r-- | app/Models/Configuration.php | 2 |
1 files changed, 1 insertions, 1 deletions
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', '<') && |
