mirror of
https://github.com/moodle/moodle.git
synced 2025-06-01 21:55:12 +02:00
portfolio/leap2a MDL-21030 fixed a syntax problem in category schemes
This commit is contained in:
parent
ed28d08878
commit
29fc57afa5
@ -434,7 +434,7 @@ class portfolio_format_leap2a_entry {
|
||||
$cat = $dom->createElement('category');
|
||||
$cat->setAttribute('term', $category->term);
|
||||
if ($category->scheme) {
|
||||
$cat->setAttribute('scheme', $category->scheme);
|
||||
$cat->setAttribute('scheme', 'categories:' .$category->scheme . '#');
|
||||
}
|
||||
if ($category->label && $category->label != $category->term) {
|
||||
$cat->setAttribute('label', $category->label);
|
||||
|
Loading…
x
Reference in New Issue
Block a user