Projet

Général

Profil

0001-misc-don-t-crash-rendering-a-text-cell-without-conte.patch

Frédéric Péters, 18 mai 2019 09:37

Télécharger (836 octets)

Voir les différences:

Subject: [PATCH] misc: don't crash rendering a text cell without content
 (#33227)

 combo/data/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
combo/data/models.py
753 753

  
754 754
    def get_cell_extra_context(self, context):
755 755
        extra_context = super(TextCell, self).get_cell_extra_context(context)
756
        text = self.text
756
        text = self.text or ''
757 757
        render_skeleton = context.get('render_skeleton')
758 758

  
759 759
        def sub_variadic_url(match):
760
-