Node.js based forum software built for the modern web
dont crash on null category
barisusaklid8c9c8d44761
diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.jsindex 2700aab137..1210b10753 100644--- a/public/src/modules/helpers.js+++ b/public/src/modules/helpers.js@@ -73,6 +73,9 @@};helpers.generateCategoryBackground = function(category) {+ if (!category) {+ return '';+ }var style = [];if (category.bgColor) {