Skip to content
Permalink
Browse files

Fixed bug in the ServerObjectIsNull extension method.

  • Loading branch information...
PaoloPia committed Apr 5, 2016
1 parent 0151543 commit 550fb7a6b4dd106375abee63ce87eaccaa22541a
Showing with 2 additions and 2 deletions.
  1. +2 −2 Core/OfficeDevPnP.Core/AppModelExtensions/ClientObjectExtensions.cs
@@ -14,9 +14,9 @@ public static class ClientObjectExtensions
/// <returns>True if the server object is null, otherwise false</returns>
public static bool ServerObjectIsNull<T>(this T clientObject) where T : ClientObject
{
return (clientObject.ServerObjectIsNull != null &&
return (!(clientObject.ServerObjectIsNull != null &&
clientObject.ServerObjectIsNull.HasValue &&
!clientObject.ServerObjectIsNull.Value);
!clientObject.ServerObjectIsNull.Value));
}

/// <summary>

0 comments on commit 550fb7a

Please sign in to comment.
You can’t perform that action at this time.