diff --git a/controllers/kalachakra.py b/controllers/kalachakra.py index d8962ee..80176d9 100755 --- a/controllers/kalachakra.py +++ b/controllers/kalachakra.py @@ -451,7 +451,7 @@ class kalachakra_event(WebsiteEventController,PaymentProcessing): if event.online_event: if post.get('online')=='yes':data['online']=True - + if event.online_only:data['online']=True data['status']=request.session['status'] @@ -481,6 +481,7 @@ class kalachakra_event(WebsiteEventController,PaymentProcessing): if event.online_event: if post.get('online')=='yes':vals['online']=True else:vals['online']=False + if event.online_only:vals['online']=True else: vals['online']=False vals['state']='open'