From b7746121c5a6814c67024a53b430199deef90057 Mon Sep 17 00:00:00 2001 From: HENRY Florian Date: Mon, 18 Nov 2024 17:17:09 +0100 Subject: [PATCH] fix: CronJob Propertyy 'comment' do not exist replace by note_private (#31970) --- htdocs/core/modules/DolibarrModules.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/DolibarrModules.class.php b/htdocs/core/modules/DolibarrModules.class.php index 18e3274a8c30e..93a4121f9a4c4 100644 --- a/htdocs/core/modules/DolibarrModules.class.php +++ b/htdocs/core/modules/DolibarrModules.class.php @@ -1692,7 +1692,7 @@ public function insert_cronjobs() $cronjob->command = $command; $cronjob->params = $params; $cronjob->md5params = $md5params; - $cronjob->comment = $comment; + $cronjob->note_private = $comment; $cronjob->frequency = $frequency; $cronjob->unitfrequency = $unitfrequency; $cronjob->priority = $priority;