Ignore:
Timestamp:
14/08/07 13:56:32 (12 years ago)
Author:
lawrence
Message:

Woops, bug fix for a catastrophic failure ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/discovery.py

    r2804 r2805  
    190190                    session['results']=h.current_url() 
    191191                    session.save() 
    192                     if c.pageTabs[1][0]!='Results': 
     192                    if len(c.pageTabs)==1:  
     193                        c.pageTabs.append(('Results',session['results'])) 
     194                    elif c.pageTabs[1][0]!='Results': 
    193195                         c.pageTabs.insert(1,('Results',session['results'])) 
    194196                    return render_response('results') 
Note: See TracChangeset for help on using the changeset viewer.