Merge pull request #27825 from libremaster/develop

Minor fixes, typo or descriptions
This commit is contained in:
Laurent Destailleur 2024-01-28 12:52:34 +01:00 committed by GitHub
commit 32fea98bfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View file

@ -647,7 +647,7 @@ function dol_get_last_hour($date, $gm = 'tzserver')
* @param int $date Date GMT
* @param mixed $gm False or 0 or 'tzserver' = Return date to compare with server TZ,
* 'gmt' to compare with GMT date.
* @return int Date for last hour of a given date
* @return int Date for first hour of a given date
*/
function dol_get_first_hour($date, $gm = 'tzserver')
{

View file

@ -482,7 +482,7 @@ if (($action == "create") || ($action == "edit")) {
} else {
$input .= ' />';
}
$input .= "<label for=\"frequency_month\">".$langs->trans('Monthly')."</label>";
$input .= "<label for=\"frequency_month\">".$langs->trans('Months')."</label>";
print $input;
print "</td>";

View file

@ -184,6 +184,11 @@ class Cronjob extends CommonObject
*/
public $autodelete;
/**
* @var array Cronjob
*/
public $lines;
const STATUS_DISABLED = 0;
const STATUS_ENABLED = 1;
@ -512,7 +517,6 @@ class Cronjob extends CommonObject
/**
* Load list of cron jobs in a memory array from the database
* @TODO Use object CronJob and not CronJobLine.
*
* @param string $sortorder sort order
* @param string $sortfield sort field