Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchParapheur
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchParapheur
Commits
a0219aff
Commit
a0219aff
authored
2 years ago
by
Alex ORLUC
Browse files
Options
Downloads
Patches
Plain Diff
FIX #19031 TIME 0:10 fix warn php8.1
parent
3fae2c2b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/scheduler.php
+1
-1
1 addition, 1 deletion
bin/scheduler.php
with
1 addition
and
1 deletion
bin/scheduler.php
+
1
−
1
View file @
a0219aff
...
@@ -82,8 +82,8 @@ foreach ($schedules as $schedule) {
...
@@ -82,8 +82,8 @@ foreach ($schedules as $schedule) {
continue
;
continue
;
}
}
$lastExecution
=
new
DateTime
(
$schedule
[
'last_execution'
]);
if
(
!
empty
(
$schedule
[
'last_execution'
]))
{
if
(
!
empty
(
$schedule
[
'last_execution'
]))
{
$lastExecution
=
new
DateTime
(
$schedule
[
'last_execution'
]);
$difference
=
$currentDate
->
diff
(
$lastExecution
);
$difference
=
$currentDate
->
diff
(
$lastExecution
);
if
(
empty
(
$schedule
[
'frequency'
])
&&
$lastExecution
->
format
(
'Y-m-d'
)
==
$currentDate
->
format
(
'Y-m-d'
))
{
if
(
empty
(
$schedule
[
'frequency'
])
&&
$lastExecution
->
format
(
'Y-m-d'
)
==
$currentDate
->
format
(
'Y-m-d'
))
{
continue
;
continue
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment