]> git.mjollnir.org Git - moodle.git/commit
Fix bug #2334 - New unique undes in course table causes course move to fail
authormartinlanghoff <martinlanghoff>
Thu, 13 Jan 2005 02:34:45 +0000 (02:34 +0000)
committermartinlanghoff <martinlanghoff>
Thu, 13 Jan 2005 02:34:45 +0000 (02:34 +0000)
commit39f655953078601f973f368610c49b497fc6bb44
treefb323b0063be07a4f1ff813273abc0d0a424a2fd
parent0dc12569e563142c4bab86ba5db85de8fe4da0c9
Fix bug #2334 - New unique undes in course table causes course move to fail

There were several issues in fix_coursesortorder() that were fixed. Mainly:
 - the recursive calls dropped the $safe parameter
 - we did not even try to maintain uniqueness in the sortorder field across categories

http://moodle.org/bugs/bug.php?op=show&bugid=2334
lib/datalib.php