Fixes in ShallerDBProcessor... again...

main
Inga 🏳‍🌈 15 years ago
parent e1fc83ad52
commit f21c5cc194
  1. 2
      ImportConsole/ShallerDBProcessor.cs

@ -174,7 +174,7 @@ namespace FLocal.ImportConsole {
Console.Write("-"); Console.Write("-");
} else if(Config.instance.mainConnection.GetCountByConditions(Post.TableSpec.instance, new ComparisonCondition(Post.TableSpec.instance.getIdSpec(), ComparisonType.EQUAL, postId.ToString())) > 0) { } else if(Config.instance.mainConnection.GetCountByConditions(Post.TableSpec.instance, new ComparisonCondition(Post.TableSpec.instance.getIdSpec(), ComparisonType.EQUAL, postId.ToString())) > 0) {
Post post = Post.LoadById(postId); Post post = Post.LoadById(postId);
if(post.title.StartsWith("%") || post.body.StartsWith("%") || (post.thread.firstPost.id == post.id && post.thread.title.StartsWith("%"))) { if(post.title.StartsWith("%") || post.title.StartsWith("Re%3A") || post.body.StartsWith("%") || (post.thread.firstPost.id == post.id && post.thread.title.StartsWith("%"))) {
string title = data["Subject"]; string title = data["Subject"];
string body = data["Body"]; string body = data["Body"];
inserts[postId] = () => { inserts[postId] = () => {

Loading…
Cancel
Save