Skip to content
Snippets Groups Projects
Commit 6ebabe2f authored by Gerrit Uitslag's avatar Gerrit Uitslag
Browse files

Fix PHP7 evaluation order incompatibility

Fixes #1480
parent 2a83ac60
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@ function rss_parseOptions() {
'content_type' => array('str', 'view', $conf['rss_media'])
) as $name => $val) {
$opt[$name] = $INPUT->$val[0]($val[1], $val[2], true);
$opt[$name] = $INPUT->{$val[0]}($val[1], $val[2], true);
}
$opt['items'] = max(0, (int) $opt['items']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment