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

This commit is contained in:
samhemelryk
2009-06-09 05:13:48 +00:00
parent 53b115f318
commit 6b60b0004e
+1 -1
View File
@@ -656,7 +656,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;
}