]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15661: typo in function name - wrong call meant tag type was set incorrectly...
authorscyrma <scyrma>
Wed, 16 Jul 2008 01:21:31 +0000 (01:21 +0000)
committerscyrma <scyrma>
Wed, 16 Jul 2008 01:21:31 +0000 (01:21 +0000)
tag/manage.php

index 25cc7f6fd3b85e3f76686a9a61bd607d6ba6166c..4b7760ea05bdf2fa4421d0f4c5d9fd54a01445d0 100644 (file)
@@ -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');