Ignore:
Timestamp:
16 Oct 2006, 16:23:24 (18 years ago)
Author:
joachim
Message:

fix of last fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py

    r708 r709  
    3232        jno = item['student']
    3333        res = context.portal_catalog(SearchableText=jno,portal_type='StudentApplication')
    34         if len(res) == 1:
     34        if len(res) > 1:
    3535            item['student_url'] = "%s/%s" % (context.portal_url(),res[0].relative_path)
    3636        else:
    37             item['student_url'] == None
     37            item['student_url'] = None
    3838    else:
    3939        item['student_url'] = '%s/%s' % (students_url,item['student'])
Note: See TracChangeset for help on using the changeset viewer.