Changeset 2441e8b27b94…
Parent 3286058dee83…
by
Changes to 2 files · Browse files at 2441e8b27b94 Showing diff from parent 3286058dee83 Diff from another changeset...
@@ -39,5 +39,5 @@ // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("0.1.2.0")]
-[assembly: AssemblyFileVersion("0.1.2.0")]
+[assembly: AssemblyVersion("0.1.2.1")]
+[assembly: AssemblyFileVersion("0.1.2.1")]
|
@@ -18,7 +18,7 @@ {
public TimeIntervalExample(CPluginApi api) : base(api) { }
- protected const string SPluginId = "Adam+TimeIntervalExample@fogcreek.com";
+ protected const string sPluginId = "Adam+TimeIntervalExample@fogcreek.com";
private const string CommentsTable = "TimeIntervalComment";
private const string IntervalColumn = "ixInterval";
private const string CommentColumn = "sComment";
@@ -163,7 +163,11 @@
CTimeInterval[] rgTimeIntervals = query.List();
if (rgTimeIntervals.Length > 0)
- sComment = rgTimeIntervals[0].GetPluginField(SPluginId, "sComment").ToString();
+ {
+ object oComment = rgTimeIntervals[0].GetPluginField(sPluginId, "sComment");
+ if (oComment != null)
+ sComment = oComment.ToString();
+ }
return sComment;
}
}
|
Loading...