Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from maximejobin/master
Browse files Browse the repository at this point in the history
A null value is valid
  • Loading branch information
ALMMa committed Apr 28, 2015
2 parents bd2e4f0 + 5a4aa50 commit bd63aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataTables.Mvc/Search.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class Search
/// <exception cref="System.ArgumentNullException">Thrown when the provided search value is null.</exception>
public Search(string value, bool isRegexValue)
{
if (value == null) throw new ArgumentNullException("value", "The value of the search cannot be null. If there's no search performed, provide an empty string.");
//if (value == null) throw new ArgumentNullException("value", "The value of the search cannot be null. If there's no search performed, provide an empty string.");

this.Value = value;
this.IsRegexValue = isRegexValue;
Expand Down

0 comments on commit bd63aa5

Please sign in to comment.