Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Marcus Eibrink-Lunzenauer
Stud.IP
Commits
87016e37
Commit
87016e37
authored
1 year ago
by
David Siegfried
Committed by
Jan-Hendrik Willms
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
prevent php8-warnings, closes #2617
Closes #2617 Merge request
studip/studip!1766
parent
85db9be7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/raumzeit/MetaDate.class.php
+4
-2
4 additions, 2 deletions
lib/raumzeit/MetaDate.class.php
with
4 additions
and
2 deletions
lib/raumzeit/MetaDate.class.php
+
4
−
2
View file @
87016e37
...
...
@@ -359,6 +359,7 @@ class MetaDate
function
store
()
{
$old_cycle_dates
=
[];
$changed
=
0
;
foreach
(
SeminarCycleDate
::
findBySeminar
(
$this
->
seminar_id
)
as
$c
)
{
$old_cycle_dates
[
$c
->
getId
()]
=
$c
;
}
...
...
@@ -465,7 +466,7 @@ class MetaDate
/**
* returns true if a given cycle has at least one date at all or in the given time range
*
* @param
string
cycle
id
* @param string
$metadate_
id
* @param int $filterStart
* @param int $filterEnd
* @return bool
...
...
@@ -518,7 +519,8 @@ class MetaDate
$ret
=
[];
$all_semester
=
Semester
::
findAllVisible
(
false
);
$sem_begin
=
null
;
$sem_end
=
null
;
// get the starting-point for creating singleDates for the choosen cycleData
foreach
(
$all_semester
as
$val
)
{
if
((
$this
->
seminarStartTime
>=
$val
[
"beginn"
])
&&
(
$this
->
seminarStartTime
<=
$val
[
"ende"
]))
{
...
...
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