mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
closes #2409
This commit is contained in:
@@ -168,6 +168,7 @@ var async = require('async'),
|
||||
category.name = validator.escape(category.name);
|
||||
category.disabled = parseInt(category.disabled, 10) === 1;
|
||||
category.icon = category.icon || 'hidden';
|
||||
category.post_count = category.post_count || 0;
|
||||
|
||||
if (category.description) {
|
||||
category.description = validator.escape(category.description);
|
||||
|
||||
Reference in New Issue
Block a user