Commit b7edc3d 1 parent 284a410 commit b7edc3d Copy full SHA for b7edc3d
File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11
11
$ user = get_user ();
12
12
$ group = $ user ->getGroup ();
13
13
$ year = $ group ? $ group ->year : get_current_year ();
14
- $ deadline = db_fetch_deadline ($ year );
14
+ $ deadlines = db_fetch_deadline ($ year );
15
+ $ deadline = $ deadlines ->feature_selection ;
15
16
16
17
if (!$ group && $ user ->role === ROLE_STUDENT ) {
17
18
terminate ('Student is not in a group ' );
30
31
}
31
32
}
32
33
33
- if ($ user ->role === ROLE_STUDENT && $ deadline ->isFeatureSelectionActive ()) {
34
+ if ($ user ->role === ROLE_STUDENT && $ deadlines ->isFeatureSelectionActive ()) {
34
35
$ form = $ formFactory ->createBuilder (FormType::class)
35
36
->add ('url ' , UrlType::class, [
36
37
'label ' => 'Issue URL (if applicable) ' ,
88
89
if ($ group && $ group ->hash_proposal_file ) {
89
90
$ embed_file = dourl ('features ' , ['download ' => $ group ->id ]);
90
91
}
91
-
92
- $ deadline = $ deadline ->feature_selection ;
You can’t perform that action at this time.
0 commit comments