plugin invitations: fixed url_template check
This commit is contained in:
parent
9d60e145c0
commit
b07afe6971
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class InvitationsPlugin(object):
|
|||
|
||||
self.checkExtra(extra)
|
||||
|
||||
if not 'url_template' in extra and not 'message_body' in extra:
|
||||
if not 'url_template' in kwargs and not 'message_body' in kwargs:
|
||||
raise ValueError(_(u"You need to provide url_template if you use default message body"))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue