If group isn't detected when restoring events, default it to 0

This commit is contained in:
stronk7 2004-04-27 22:37:01 +00:00
parent 43719c6c9b
commit 22c8200ff4

View File

@ -1080,6 +1080,9 @@
$group = backup_getid($restore->backup_unique_code,"group",$eve->groupid);
if ($group) {
$eve->groupid = $group->new_id;
} else {
//Assign it to group 0
$eve->groupid = 0
}
//The structure is equal to the db, so insert the event