Project

General

Profile

« Previous | Next » 

Revision d3d607aa

Added by Frédéric Péters over 12 years ago

the user hash thing

View differences:

extra/modules/myspace.ptl
361 361
            for formdef in formdefs:
362 362
                user_forms.extend(formdef.data_class().get_with_indexed_value(
363 363
                            'user_id', user.id))
364
                try:
365
                    user_forms.extend(formdef.data_class().get_with_indexed_value(
366
                            'user_hash', user.hash))
367
                except AttributeError:
368
                    pass
364 369
            user_forms.sort(lambda x,y: cmp(x.receipt_time, y.receipt_time))
365 370

  
366 371
        profile_links = []

Also available in: Unified diff