PHP7 share bug

https://github.com/FreshRSS/FreshRSS/issues/1072
This commit is contained in:
Alexandre Alapetite
2016-02-27 14:53:03 +01:00
parent 67dfeeb397
commit b501fd6514

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