PHP7 share bug

https://github.com/FreshRSS/FreshRSS/issues/1072
This commit is contained in:
Alexandre Alapetite committed 2016-02-27 14:53:03 +01:00
1 parent 67dfeeb397
commit b501fd6514
1 file changed
+2 -4
+2 -4
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;
}
}