]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11544, tags migrate script postgres db problem
authortoyomoyo <toyomoyo>
Thu, 4 Oct 2007 07:06:54 +0000 (07:06 +0000)
committertoyomoyo <toyomoyo>
Thu, 4 Oct 2007 07:06:54 +0000 (07:06 +0000)
lib/db/upgrade.php

index 723bb643391825ae2a6c17db26d056ae6a77631d..7caf209a75d14dd6cd9bdcbce1c121214f000f86 100644 (file)
@@ -1732,6 +1732,7 @@ function xmldb_main_upgrade($oldversion=0) {
                         $itag->rawname      = $raw_normalized;
                         $itag->userid       = $oldtag->userid;
                         $itag->timemodified = time();
+                        $itag->descriptionformat = 0; // default format
                         if ($oldtag->type == 'official') {
                             $itag->tagtype  = 'official';
                         } else {