witten
/
luminotes
Archived
1
0
Fork 0

Even rate plan button value is empty, don't try to use the value.

This commit is contained in:
Dan Helfman 2008-01-22 22:08:09 +00:00
parent 3d039cd14c
commit f0325ce58a
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class Upgrade_note( Span ):
class_ = u"price_text",
separator = u"",
),
user and user.rate_plan != index and plan.get( u"button" ) % user.object_id or None,
user and user.rate_plan != index and plan.get( u"button" ).strip() and plan.get( u"button" ) % user.object_id or None,
) or None,
class_ = u"plan_name",
) for ( index, plan ) in enumerate( rate_plans ) ],