From 7e6d109ef84e11197f8245fe09a4c6c254798ecf Mon Sep 17 00:00:00 2001
From: Matthieu Marcillaud <marcimat@rezo.net>
Date: Sun, 1 Oct 2017 14:06:20 +0000
Subject: [PATCH] =?UTF-8?q?Suite=20de=20r23735=20=E2=80=A6=20:=20Tout=20le?=
 =?UTF-8?q?=20temps=20compl=C3=A9ter=20avec=20les=20options=20par=20d?=
 =?UTF-8?q?=C3=A9faut=E2=80=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/inc/utils.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php
index 44090e2e30..1af21b9442 100644
--- a/ecrire/inc/utils.php
+++ b/ecrire/inc/utils.php
@@ -829,7 +829,8 @@ function _L($text, $args = array(), $options = array()) {
 	// support de l'ancien argument $class
 	if ($options and is_string($options)) {
 		$options = array('class' => $options);
-	} elseif (is_array($options)) {
+	}
+	if (is_array($options)) {
 		$options += $defaut_options;
 	} else {
 		$options = $defaut_options;
-- 
GitLab