summaryrefslogtreecommitdiff
path: root/app/Models/Share.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Share.php')
-rw-r--r--app/Models/Share.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Models/Share.php b/app/Models/Share.php
index 2a05f2ee9..1c8a7e767 100644
--- a/app/Models/Share.php
+++ b/app/Models/Share.php
@@ -119,11 +119,9 @@ class FreshRSS_Share {
);
foreach ($options as $key => $value) {
- if (!isset($available_options[$key])) {
- continue;
+ if (isset($available_options[$key])) {
+ $this->{$available_options[$key]} = $value;
}
-
- $this->$available_options[$key] = $value;
}
}