Changeset 13958


Ignore:
Timestamp:
2007-03-07T12:25:36+13:00 (17 years ago)
Author:
shaoqun
Message:

add a guide

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/action/PageAction.java

    r13525 r13958  
    206206        Element c1 = (Element)items.item(i);
    207207        Element c2 = (Element)GSXML.getChildByTagName((Element)responses.item(i), c1.getTagName());
    208             if (c1.getAttribute(GSXML.NAME_ATT).endsWith(c2.getAttribute(GSXML.NAME_ATT))) {
     208            if (c1 != null && c2 !=null && c1.getAttribute(GSXML.NAME_ATT).endsWith(c2.getAttribute(GSXML.NAME_ATT))) {
    209209        //add the new data into the original element
    210210        GSXML.mergeElements(c1, c2);
Note: See TracChangeset for help on using the changeset viewer.