Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected missing brace

  • Loading branch information...
commit fc2a21cbdd86eac4889b649693cbe450b2d3082c 1 parent 44a393a
SubSonic Project subsonic authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Massive.cs
2  Massive.cs
View
@@ -66,7 +66,7 @@ public static class ObjectExtensions {
var result = new ExpandoObject();
var d = result as IDictionary<string, object>; //work with the Expando as a Dictionary
if (o.GetType() == typeof(ExpandoObject)) return o; //shouldn't have to... but just in case
- if (o.GetType() == typeof(NameValueCollection) || o.GetType().IsSubclassOf(typeof(NameValueCollection)))
+ if (o.GetType() == typeof(NameValueCollection) || o.GetType().IsSubclassOf(typeof(NameValueCollection))){
var nv = (NameValueCollection)o;
nv.Cast<string>().Select(key => new KeyValuePair<string, object>(key, nv[key])).ToList().ForEach(i => d.Add(i));
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.