From dc4ad0e0c5bbeb125957f57ed3cd8d9064894e58 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Tue, 6 Jul 2010 12:35:01 +0000 Subject: [PATCH] Changes in thread readmarker --- Common/dataobjects/Thread.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/dataobjects/Thread.cs b/Common/dataobjects/Thread.cs index 7ba3907..da50f5f 100644 --- a/Common/dataobjects/Thread.cs +++ b/Common/dataobjects/Thread.cs @@ -287,7 +287,7 @@ namespace FLocal.Common.dataobjects { } Dictionary data = Config.instance.mainConnection.LoadById(ReadMarkerTableSpec.instance, stringIds[0]); if((data[ReadMarkerTableSpec.FIELD_POSTID] == "") || (data[ReadMarkerTableSpec.FIELD_POSTID] == null)) { - return FORMALREADMIN; + return 0; } return int.Parse(data[ReadMarkerTableSpec.FIELD_POSTID]); }