From: scyrma Date: Wed, 16 Jul 2008 01:21:31 +0000 (+0000) Subject: MDL-15661: typo in function name - wrong call meant tag type was set incorrectly... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2ce9a1f59de384476399be5d858be01c859172e1;p=moodle.git MDL-15661: typo in function name - wrong call meant tag type was set incorrectly (merge from 1.9) --- diff --git a/tag/manage.php b/tag/manage.php index 25cc7f6fd3..4b7760ea05 100644 --- a/tag/manage.php +++ b/tag/manage.php @@ -116,7 +116,7 @@ switch($action) { foreach ( $new_otags as $new_otag ) { if ( $new_otag_id = tag_get_id($new_otag) ) { // tag exists, change the type - tag_set_type($new_otag_id, 'official'); + tag_type_set($new_otag_id, 'official'); } else { require_capability('moodle/tag:create', get_context_instance(CONTEXT_SYSTEM)); tag_add($new_otag, 'official');