Skip to content

Commit

Permalink
Improve robustness
Browse files Browse the repository at this point in the history
  • Loading branch information
majiccode committed Dec 11, 2018
1 parent b65de3d commit 14da0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/src/Sdl.Tridion.Api.Client/Utils/QueryHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public static void RemoveUnusedFragments(ref string query)
if(indices != null)
query = query.Substring(0, index) + query.Substring(indices.Item2 + 1);
}
index = query.IndexOf("fragment", index + 1, StringComparison.Ordinal);
index = query.IndexOf("fragment ", index + 1, StringComparison.Ordinal);
}
}
}
Expand Down

0 comments on commit 14da0c2

Please sign in to comment.