portfolio/leap2a MDL-21030 fixed a syntax problem in category schemes

This commit is contained in:
Penny Leach
2010-03-21 17:19:42 +00:00
parent ed28d08878
commit 29fc57afa5
+1 -1
View File
@@ -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);