Merge branch 'php7-share' into dev

This commit is contained in:
Alexandre Alapetite
2016-02-27 15:25:07 +01:00

View File

@@ -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;
}
}