From 41f09056899645479e83b95e846254676945f97b Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Mon, 20 Oct 2014 13:31:23 +0000 Subject: [PATCH] Fixed condition check problem introduced with adjustments to setting the returning item bit. Fixes bug #1505. Commit ready to merge. - Legacy-Id: 8444 --- ietf/doc/views_doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/doc/views_doc.py b/ietf/doc/views_doc.py index 271e6b72e..9c3d3e9d6 100644 --- a/ietf/doc/views_doc.py +++ b/ietf/doc/views_doc.py @@ -859,7 +859,7 @@ def telechat_date(request, name): initial_returning_item = bool(e and e.returning_item) prompts = [] - if e and doc.type.slug != 'charter': + if e and e.telechat_date and doc.type.slug != 'charter': if e.telechat_date==datetime.date.today(): prompts.append( "This document is currently scheduled for today's telechat. " +"Please set the returning item bit carefully.")