Skip to content

Commit

Permalink
Fixed: Duplication of activitiy in section 0 #154
Browse files Browse the repository at this point in the history
  • Loading branch information
davidherney committed May 15, 2024
1 parent 276123c commit e0fa4fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ protected function __construct($format, $courseid) {
if ($realsection === null || !$sections[$realsection]->uservisible) {

if ($realsection) {
self::$formatmsgs[] = get_string('hidden_message', 'format_onetopic', $this->get_section_name($realsection));
self::$formatmsgs[] = get_string('hidden_message',
'format_onetopic',
$this->get_section_name($realsection));
}

$valid = false;
Expand Down

0 comments on commit e0fa4fe

Please sign in to comment.