0001-misc-protect-against-removed-category-8906.patch
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 |
- |