From 01e41b22624d74985745a2138702eb5d1fb123bd Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Sat, 3 Jul 2010 13:39:05 +0000 Subject: [PATCH] Revision now can be null; --- Common/dataobjects/Post.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/dataobjects/Post.cs b/Common/dataobjects/Post.cs index 7ab8827..0ce77ae 100644 --- a/Common/dataobjects/Post.cs +++ b/Common/dataobjects/Post.cs @@ -147,7 +147,7 @@ namespace FLocal.Common.dataobjects { this._posterId = int.Parse(data[TableSpec.FIELD_POSTERID]); this._postDate = new DateTime(long.Parse(data[TableSpec.FIELD_POSTDATE])); this._lastChangeDate = Util.ParseDateTimeFromTimestamp(data[TableSpec.FIELD_LASTCHANGEDATE]); - this._revision = int.Parse(data[TableSpec.FIELD_REVISION]); + this._revision = Util.ParseInt(data[TableSpec.FIELD_REVISION]); this._layerId = int.Parse(data[TableSpec.FIELD_LAYERID]); this._title = data[TableSpec.FIELD_TITLE]; this._body = data[TableSpec.FIELD_BODY];