Skip to content
Snippets Groups Projects
Commit 75e17e60 authored by anoack's avatar anoack Committed by Moritz Strohm
Browse files

fix Call to a member function getStartWeeks() on null

parent 2614eef6
No related branches found
No related tags found
No related merge requests found
pluginname=CourseCopy
pluginclassname=CourseCopy
version=1.9.4
version=1.9.5
origin=data-quest
studipMinVersion=4.0
studipMaxVersion=5.3.99
<?php
if ($semester) {
$start_weeks = $semester->getStartWeeks();
$last_week = count($start_weeks) - 1;
?>
......@@ -29,3 +30,5 @@ $last_week = count($start_weeks) - 1;
<? endforeach ?>
</select>
</label>
<?php
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment