Changeset 30094


Ignore:
Timestamp:
08/05/15 08:45:06 (5 years ago)
Author:
Georgiy Litvinov
Message:

Check for existence of snippets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/QueryAction.java

    r30049 r30094  
    273273        {
    274274            page_response.appendChild(doc.importNode(query_result_document_list, true));
    275             page_response.appendChild(doc.importNode(query_result_snippet_list,true));
     275            if (query_result_snippet_list != null)
     276            {
     277                page_response.appendChild(doc.importNode(query_result_snippet_list,true));
     278            }
    276279        }
    277280       
Note: See TracChangeset for help on using the changeset viewer.