Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/27/11 18:49:29 (14 years ago)
Author:
msammer
Message:

#1520 added Styles; fixed bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Controllers/QueryController.cs

    r6303 r6315  
    4545
    4646            // Get runs from filter
    47            
    4847
    4948            QueryServiceClient client = Query.GetClientFactory();
    5049
    51 
    52             long[] ids = client.GetRunIds((CombinedFilter)Session["Content"]);
     50            long[] ids;
     51            if (Session["Content"] != null)
     52                ids = client.GetRunIds((CombinedFilter)Session["Content"]);
     53            else
     54                ids = new long[0];
    5355
    5456            QueryModel qm = new QueryModel();
Note: See TracChangeset for help on using the changeset viewer.