Navigation Menu

Skip to content

Commit

Permalink
fix for broken blog utf8 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Apr 2, 2007
1 parent 244c10c commit 09bd9bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/db/migrate2utf8.php
Expand Up @@ -251,7 +251,7 @@ function migrate2utf8_post_subject($recordid){
$newpost = new object; $newpost = new object;
$newpost->id = $recordid; $newpost->id = $recordid;
$newpost->subject = $result; $newpost->subject = $result;
migrate2utf8_update_record('event',$newpost); migrate2utf8_update_record('post',$newpost);
} }
/// And finally, just return the converted field /// And finally, just return the converted field
return $result; return $result;
Expand Down Expand Up @@ -289,7 +289,7 @@ function migrate2utf8_post_summary($recordid){
$newpost = new object; $newpost = new object;
$newpost->id = $recordid; $newpost->id = $recordid;
$newpost->summary = $result; $newpost->summary = $result;
migrate2utf8_update_record('event',$newpost); migrate2utf8_update_record('post',$newpost);
} }
/// And finally, just return the converted field /// And finally, just return the converted field
return $result; return $result;
Expand Down Expand Up @@ -327,7 +327,7 @@ function migrate2utf8_post_content($recordid){
$newpost = new object; $newpost = new object;
$newpost->id = $recordid; $newpost->id = $recordid;
$newpost->content = $result; $newpost->content = $result;
migrate2utf8_update_record('event',$newpost); migrate2utf8_update_record('post',$newpost);
} }
/// And finally, just return the converted field /// And finally, just return the converted field
return $result; return $result;
Expand Down

0 comments on commit 09bd9bb

Please sign in to comment.