]> git.mjollnir.org Git - moodle.git/commitdiff
Solved one important issue when restoring users due to a bug in
authorstronk7 <stronk7>
Thu, 29 Jan 2004 00:12:17 +0000 (00:12 +0000)
committerstronk7 <stronk7>
Thu, 29 Jan 2004 00:12:17 +0000 (00:12 +0000)
revision 1.44, when solving bug 946. Tons of thanks to Jacob Romeyn
detecting it.

backup/lib.php

index 83425c0591ed8cdf7e4d74cc3d3a2a5a572e4ac4..704a5b1981aeac6fb291e36e8c557f7b961bd581 100644 (file)
             $rec->new_id =$new_id;
             $rec->info = $info_to_save;
             
-            $status = insert_record ("backup_ids", $rec);
+            $status = insert_record ("backup_ids", $rec, false);
         }
         return $status;
     }