From 6ebabe2fed9be3b3212883ada3486917af450c30 Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag <klapinklapin@gmail.com> Date: Wed, 2 Mar 2016 21:48:37 +0100 Subject: [PATCH] Fix PHP7 evaluation order incompatibility Fixes #1480 --- feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed.php b/feed.php index 7ea2e235e..7b3b5e940 100644 --- a/feed.php +++ b/feed.php @@ -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']); -- GitLab