From 8f76eebddb3d18cd70033a72c42b5cf146d1f353 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Tue, 2 Aug 2016 20:29:40 +0200 Subject: [PATCH] Fix parameters list Fixes warning: "array_key_exists() expects parameter 2 to be array, string given in /volume1/web/rss-bridge_dev/lib/HTMLUtils.php on line 59 Warning: Invalid argument supplied for foreach() in /volume1/web/rss-bridge_dev/lib/HTMLUtils.php on line 64 --- bridges/ElsevierBridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/ElsevierBridge.php b/bridges/ElsevierBridge.php index bb734777..9265a0c3 100644 --- a/bridges/ElsevierBridge.php +++ b/bridges/ElsevierBridge.php @@ -12,9 +12,9 @@ class ElsevierBridge extends BridgeAbstract{ $this->name = 'Elsevier journals recent articles'; $this->uri = 'http://www.journals.elsevier.com'; $this->description = 'Returns the recent articles published in Elsevier journals'; - $this->update = '2016-06-26'; + $this->update = '2016-08-02'; - $this->parameters= + $this->parameters[] = '[ { "name" : "Journal name",