ajout des valeurs par defaut

This commit is contained in:
Christophe 2019-12-18 09:01:28 +01:00
parent edd7b12d1a
commit f9b6ad0d25

View file

@ -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;
}