Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-33682 backup: keep old behavior, aka, use section number on empty…

… section name.
  • Loading branch information...
commit cd9f44d8df1ebd185aaff3a01b0912e985c1001e 1 parent 0f63503
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  backup/util/factories/backup_factory.class.php
View
2  backup/util/factories/backup_factory.class.php
@@ -139,7 +139,7 @@ public static function get_backup_section_task($format, $sectionid) {
throw new backup_task_exception('section_task_section_not_found', $sectionid);
}
- return new backup_section_task((string)$section->name !== '' ? $section->section : $section->name, $sectionid);
+ return new backup_section_task((string)$section->name === '' ? $section->section : $section->name, $sectionid);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.