diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index da77ca6..06c2b90 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -912 \ No newline at end of file +914 \ No newline at end of file diff --git a/Common/dataobjects/Thread.cs b/Common/dataobjects/Thread.cs index d4230c5..4ece318 100644 --- a/Common/dataobjects/Thread.cs +++ b/Common/dataobjects/Thread.cs @@ -283,7 +283,7 @@ namespace FLocal.Common.dataobjects { throw new CriticalException("more than one row"); } if(stringIds.Count < 1) { - return FORMALREADMIN; + return (this.lastPostId >= FORMALREADMIN) ? 0 : this.lastPostId; } Dictionary data = Config.instance.mainConnection.LoadById(ReadMarkerTableSpec.instance, stringIds[0]); if((data[ReadMarkerTableSpec.FIELD_POSTID] == "") || (data[ReadMarkerTableSpec.FIELD_POSTID] == null)) {