Skip to content
Browse files

fix for broken blog utf8 migration

  • Loading branch information...
1 parent 244c10c commit 09bd9bb66b01e5df761df396019cd50994ed0116 toyomoyo committed Apr 2, 2007
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/db/migrate2utf8.php
View
6 lib/db/migrate2utf8.php
@@ -251,7 +251,7 @@ function migrate2utf8_post_subject($recordid){
$newpost = new object;
$newpost->id = $recordid;
$newpost->subject = $result;
- migrate2utf8_update_record('event',$newpost);
+ migrate2utf8_update_record('post',$newpost);
}
/// And finally, just return the converted field
return $result;
@@ -289,7 +289,7 @@ function migrate2utf8_post_summary($recordid){
$newpost = new object;
$newpost->id = $recordid;
$newpost->summary = $result;
- migrate2utf8_update_record('event',$newpost);
+ migrate2utf8_update_record('post',$newpost);
}
/// And finally, just return the converted field
return $result;
@@ -327,7 +327,7 @@ function migrate2utf8_post_content($recordid){
$newpost = new object;
$newpost->id = $recordid;
$newpost->content = $result;
- migrate2utf8_update_record('event',$newpost);
+ migrate2utf8_update_record('post',$newpost);
}
/// And finally, just return the converted field
return $result;

0 comments on commit 09bd9bb

Please sign in to comment.
Something went wrong with that request. Please try again.