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

This commit is contained in:
samhemelryk
2009-06-09 05:12:02 +00:00
parent b5ebbaa5bf
commit a9fcd45d83
+1 -1
View File
@@ -535,7 +535,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;
}