From 2079cd6074a37eeb3e56275e66be2c016f79bdf3 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Thu, 18 May 2023 11:34:40 +0200 Subject: [PATCH] Use array of modules instead of single module in call of addModules (avoid deprecation warning). --- wrmap.body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrmap.body.php b/wrmap.body.php index 5522477..328effa 100644 --- a/wrmap.body.php +++ b/wrmap.body.php @@ -398,7 +398,7 @@ class WrBaseMap { assert(in_array($tagname, array('wrmap', 'wrgmap'))); $parserOutput = $parser->getOutput(); - $parserOutput->addModules('ext.wrmap'); + $parserOutput->addModules(array('ext.wrmap')); // append all sledruns as icon $json_features = array(); -- 2.39.5