Projet

Général

Profil

0001-misc-protect-against-removed-category-8906.patch

Frédéric Péters, 07 novembre 2015 14:19

Télécharger (944 octets)

Voir les différences:

Subject: [PATCH] misc: protect against removed category (#8906)

 wcs/admin/forms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/admin/forms.py
365 365
                self.formdef.keywords and
366 366
                self.formdef.keywords or C_('keywords|None'))
367 367
        r += add_option_line('options/category', _('Category'),
368
                self.formdef.category_id and
368
                self.formdef.category_id and self.formdef.category and
369 369
                self.formdef.category.name or C_('category|None'))
370 370
        r += htmltext('</ul>')
371 371
        r += htmltext('</div>')
372
-