Changeset 565


Ignore:
Timestamp:
08/01/06 15:30:34 (13 years ago)
Author:
szabolcs
Message:

closes #590 spent 2.5h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MemberFolder.py

    r561 r565  
    478478        """ Search for content-like created by member. """ 
    479479        if not hasattr(self.aq_base, 'resources'): 
     480            if n == True: 
     481                return 0 
    480482            self.createResourcesTopic() 
    481483        if n==True: 
     
    483485            results=self.resources.queryCatalog() 
    484486            #self.resources_n=len(results) 
    485             return len(results)             
     487            return len(results) 
    486488        else: 
    487489           return REQUEST.RESPONSE.redirect(self.resources.absolute_url()) 
Note: See TracChangeset for help on using the changeset viewer.