diff options
Diffstat (limited to 'content/content.c')
-rw-r--r-- | content/content.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content.c b/content/content.c index 3974e90fd..5b8956ab5 100644 --- a/content/content.c +++ b/content/content.c @@ -304,6 +304,7 @@ bool content_set_type(struct content *c, content_type type, if (handler_map[type].create) { if (!handler_map[type].create(c, params)) { + c->type = CONTENT_UNKNOWN; c->status = CONTENT_STATUS_ERROR; return false; } |