Details
Description
I believe there is a typo bug in tag/manage.php calling an undefined function. See below the diff fixing this bug.
Index: tag/manage.php
===================================================================
RCS file: /cvsroot/moodle/moodle/tag/manage.php,v
retrieving revision 1.7.2.7
diff -c -r1.7.2.7 manage.php
-
-
- tag/manage.php 2 Apr 2008 06:10:07 -0000 1.7.2.7
- tag/manage.php 15 Jul 2008 21:18:12 -0000
***************
- 117,123 ****
foreach ( $new_otags as $new_otag )Unknown macro: { if ( $new_otag_id = tag_get_id($new_otag) ) { // tag exists, change the type ! tag_set_type($new_otag_id, 'official'); } else { tag_add($new_otag, 'official'); }
— 117,123 ----
foreach ( $new_otags as $new_otag ) {
if ( $new_otag_id = tag_get_id($new_otag) ) { // tag exists, change the type ! tag_type_set($new_otag_id, 'official'); } else { tag_add($new_otag, 'official'); } }
-
Thanks for finding this one. Patch committed.