Browse files

resource MDL-18691 Implemented resource_get_name in one more place fo…

…r dropdowns
  • Loading branch information...
1 parent 6e06f65 commit 7368e5197b05d3a60a884906aa8fecfb46e97e5b samhemelryk committed Jun 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/resource/lib.php
View
2 mod/resource/lib.php
@@ -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;
}

0 comments on commit 7368e51

Please sign in to comment.