diff options
| author | 2016-02-27 22:10:19 +0100 | |
|---|---|---|
| committer | 2016-02-27 22:10:19 +0100 | |
| commit | 830c5aad03ff4d0cfbde4fcf275b04de6c4f4019 (patch) | |
| tree | 2fe84bcc240b7ca74899865db9216ac04d970c20 /app | |
| parent | b46c8607ee350c334e2c2232a6f050ffd63a8a67 (diff) | |
| parent | b501fd6514253d3f7e14e2f09421a614641d3e7f (diff) | |
Merge pull request #1096 from Alkarex/php7-share
PHP7 share bug
Diffstat (limited to 'app')
| -rw-r--r-- | app/Models/Share.php | 6 |
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; } } |
