Skip to content

Commit

Permalink
resource MDL-18691 Implemented resource_get_name in one more place fo…
Browse files Browse the repository at this point in the history
…r dropdowns
  • Loading branch information
samhemelryk committed Jun 9, 2009
1 parent 6e06f65 commit 7368e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/resource/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7368e51

Please sign in to comment.