From 2ce9a1f59de384476399be5d858be01c859172e1 Mon Sep 17 00:00:00 2001 From: scyrma Date: Wed, 16 Jul 2008 01:21:31 +0000 Subject: [PATCH] MDL-15661: typo in function name - wrong call meant tag type was set incorrectly (merge from 1.9) --- tag/manage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.39.5