From f9b6ad0d252d90a8bcc076a30f01f4b488fad6e6 Mon Sep 17 00:00:00 2001 From: tofulm Date: Wed, 18 Dec 2019 09:01:28 +0100 Subject: [PATCH] ajout des valeurs par defaut --- inc/blocklog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/blocklog.php b/inc/blocklog.php index f1ea0b7..75034b7 100644 --- a/inc/blocklog.php +++ b/inc/blocklog.php @@ -12,7 +12,7 @@ if (!defined('_ECRIRE_INC_VERSION')){ * @param string | array $chaine : ensemble des valeurs utilisées pour creer la chaine * @return array [id_blocklog, chaine, blockchaine] */ -function inc_blocklog_dist($objet, $id_objet, $num, $chaine) { +function inc_blocklog_dist($objet, $id_objet = 0, $num = 0, $chaine = '') { if (!$objet or !$id_objet or !$chaine) { return false; }