Changeset 440

Show
Ignore:
Timestamp:
08/03/06 09:27:43
Author:
crchemist
Message:

Fixed bug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPingTool/trunk/PingTool.py

    r439 r440  
    6666        status = 'success' 
    6767        message = 'The servers are pinged' 
    68         blog = context.simpleblog_tool.getFrontPage(context) 
     68        if context.meta_type == 'BlogFolder': 
     69            blog = context.simpleblog_tool.getFrontPage(context) 
     70        else: 
     71            blog = context 
     72 
    6973        title = blog.Title() 
    7074        portal = context.portal_url.getPortalObject()