Changeset eb968d in indico


Ignore:
Timestamp:
09/30/11 17:28:42 (20 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
6090ad
Parents:
4867f3
Message:

[FIX] Avoid exception if links out of date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/InstantMessaging/XMPP/components.py

    r12fe30 reb968d  
    8181    def confDisplaySMShow(cls, obj, params): 
    8282        obj._instantMessaging = obj._sectionMenu.getLinkByName("instantMessaging") 
    83         if not DBHelpers.roomsToShow(obj._conf): 
     83        if obj._instantMessaging and not DBHelpers.roomsToShow(obj._conf): 
    8484            obj._instantMessaging.setVisible(False) 
    8585 
Note: See TracChangeset for help on using the changeset viewer.