aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Category.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Category.php')
-rw-r--r--app/Models/Category.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Category.php b/app/Models/Category.php
index b1e35650a..cc25a1ec0 100644
--- a/app/Models/Category.php
+++ b/app/Models/Category.php
@@ -169,8 +169,8 @@ class FreshRSS_Category extends Minz_Model {
}
public function refreshDynamicOpml(): bool {
- $url = $this->attributes('opml_url');
- if ($url == '') {
+ $url = $this->attributeString('opml_url');
+ if ($url == null) {
return false;
}
$ok = true;