From 642d14ef4dc3a63687ffef2059549dbb759eff5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr> Date: Mon, 24 Sep 2018 11:00:20 +0200 Subject: [PATCH] =?UTF-8?q?Petit=20bug=20corrig=C3=A9=20:=20on=20attendait?= =?UTF-8?q?=20une=20string=20et=20null=20est=20venu...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Publisher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Publisher.php b/src/Publisher.php index 9d84322..3a4b3cb 100644 --- a/src/Publisher.php +++ b/src/Publisher.php @@ -337,7 +337,7 @@ class Publisher } else { if (isset($variables[$name])) { foreach ($variables[$name] as $vElement) { - $this->setVariable($vElement, $val); + $this->setVariable($vElement, $val ? $val : ''); } } if (false !== strpos($name, '@')) { -- GitLab