resource MDL-18691 Implemented resource_get_name in one more place for dropdowns

This commit is contained in:
samhemelryk
2009-06-09 05:26:42 +00:00
parent 6e06f6559a
commit 7368e5197b
+1 -1
View File
@@ -582,7 +582,7 @@ function resource_get_types() {
$type->modclass = MOD_CLASS_RESOURCE;
$type->name = $resourcetype;
$type->type = "resource&type=$resourcetype";
$type->typestr = get_string("resourcetype$resourcetype", 'resource');
$type->typestr = resource_get_name($resourcetype);
$types[] = $type;
}