Permalink
Browse files

Fixes for MDL-6363

  • Loading branch information...
1 parent 98b4d4d commit ac9bdaadc105bb6b56d4ae396077d911c9ecd6e4 vyshane committed Oct 17, 2006
Showing with 2 additions and 2 deletions.
  1. +1 −1 mod/chat/restorelib.php
  2. +1 −1 mod/wiki/restorelib.php
@@ -112,7 +112,7 @@ function chat_messages_restore_mods($old_chat_id, $new_chat_id,$info,$restore) {
}
//We have to recode the groupid field
- $group = backup_getid($restore->backup_unique_code,"group",$message->groupid);
+ $group = backup_getid($restore->backup_unique_code, 'groups', $message->groupid);
if ($group) {
$message->groupid = $group->new_id;
}
@@ -117,7 +117,7 @@ function wiki_entries_restore_mods($old_wiki_id,$new_wiki_id,$info,$restore) {
$entry->userid = $user->new_id;
}
//We have to recode the groupid field
- $group = backup_getid($restore->backup_unique_code,"group",$entry->groupid);
+ $group = backup_getid($restore->backup_unique_code, 'groups', $entry->groupid);
if ($group) {
$entry->groupid = $group->new_id;
}

0 comments on commit ac9bdaa

Please sign in to comment.