fixing 4883, sorry

This commit is contained in:
toyomoyo 2006-03-07 01:33:52 +00:00
parent 1ccc4867c5
commit f07da5dde0

View File

@ -1,4 +1,4 @@
<?
<?php
///dummy field names are used to help adding and dropping indexes. There's only 1 case now, in scorm_scoes_track
require_once('../config.php');
@ -294,7 +294,7 @@ function db_migrate2utf8(){ //Eloy: Perhaps some type of limit parameter here
foreach ($records as $record) {
//if we are up this far, either no crash, or crash with same table, field name.
if ($crash){
if ($crash->record != $record->id) {
if ($crash->record != $record->id) { //might set to < just in case record is deleted
continue;
} else {
$crash = 0;