Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The issue comes from the header function correctly using
$showgroups
which checks both theshowgroups
config setting, but also checks the course groupmode. However the data function previouslyThe inconsistency in the header and data functions causes the issue. I have passed in
$showgroups
to the generating fucntions to make it consistent with the header, there should be no more edge cases now as it all simply uses$showgroups
. If if is false there can not be a header or data, and if its true there will always be a header and data.It was added in #15 and fixes #20
I also removed the
$row
variable being used on line 121 ofrubic.php
, it is not used anywhere, and now makes it consistant with guide and btec files.