Changeset 5638 for cows


Ignore:
Timestamp:
20/08/09 09:34:25 (10 years ago)
Author:
domlowe
Message:

fixed bug in wms capabilities 1.1.1 if contact info is not provided

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/templates/wms_capabilities_1_1_1.xml

    r4910 r5638  
    104104      <ContactPosition py:content="rp.positionName"/> 
    105105 
    106       <py:with vars="cn=rp.contactInfo" py:if="cn is not None"> 
     106      <py:with py:if="rp.contactInfo is not None" vars="cn=rp.contactInfo"> 
    107107        <ContactAddress py:if="cn.address is not None"> 
    108108          <AddressType>postal</AddressType> 
Note: See TracChangeset for help on using the changeset viewer.