Changes in thread readmarker

main
Inga 🏳‍🌈 15 years ago
parent e18621fafa
commit dc4ad0e0c5
  1. 2
      Common/dataobjects/Thread.cs

@ -287,7 +287,7 @@ namespace FLocal.Common.dataobjects {
} }
Dictionary<string, string> data = Config.instance.mainConnection.LoadById(ReadMarkerTableSpec.instance, stringIds[0]); Dictionary<string, string> data = Config.instance.mainConnection.LoadById(ReadMarkerTableSpec.instance, stringIds[0]);
if((data[ReadMarkerTableSpec.FIELD_POSTID] == "") || (data[ReadMarkerTableSpec.FIELD_POSTID] == null)) { if((data[ReadMarkerTableSpec.FIELD_POSTID] == "") || (data[ReadMarkerTableSpec.FIELD_POSTID] == null)) {
return FORMALREADMIN; return 0;
} }
return int.Parse(data[ReadMarkerTableSpec.FIELD_POSTID]); return int.Parse(data[ReadMarkerTableSpec.FIELD_POSTID]);
} }

Loading…
Cancel
Save