diff options
| author | 2016-02-27 15:25:07 +0100 | |
|---|---|---|
| committer | 2016-02-27 15:25:07 +0100 | |
| commit | 7b896d9fc096f3f85e604e41dc1505146cc33aa7 (patch) | |
| tree | 669c9d5576c78a8cd21c7aa68d518af48f48e289 /app/Models | |
| parent | 033f9695b4c9f30c8a8630686950635ce589f8b3 (diff) | |
| parent | b501fd6514253d3f7e14e2f09421a614641d3e7f (diff) | |
Merge branch 'php7-share' into dev
Diffstat (limited to 'app/Models')
| -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; } } |
