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

Commit bd63aa5

Browse files
committed
Merge pull request #17 from maximejobin/master
A null value is valid
2 parents bd2e4f0 + 5a4aa50 commit bd63aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataTables.Mvc/Search.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class Search
5050
/// <exception cref="System.ArgumentNullException">Thrown when the provided search value is null.</exception>
5151
public Search(string value, bool isRegexValue)
5252
{
53-
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.");
53+
//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.");
5454

5555
this.Value = value;
5656
this.IsRegexValue = isRegexValue;

0 commit comments

Comments
 (0)