Skip to content

Commit

Permalink
Hot fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnstee committed Jan 10, 2025
1 parent df73779 commit 0da4d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UACloudLibraryServer/CloudLibDataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ internal IQueryable<CloudLibNodeSetModel> SearchNodesets(string[] keywords)
{
IQueryable<CloudLibNodeSetModel> matchingNodeSets;

if ((keywords?.Length != 0) && (keywords[0] != "*"))
if ((keywords != null) && (keywords.Length != 0) && (keywords[0] != "*"))
{
string keywordRegex = $".*({string.Join('|', keywords)}).*";
#pragma warning disable CA1305 // Specify IFormatProvider - ToString() runs in the database, cultureinfo not supported
Expand Down

0 comments on commit 0da4d04

Please sign in to comment.