From 9e7afcf0ab9e4e4d5e0c6e4b8b1990e5d52cd8fb Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 22 Jul 2013 20:29:51 -0400 Subject: [PATCH] fixing issue where navigating to a non-existant category_id caused NodeBB to crash --- public/templates/header.tpl | 4 +++- src/categories.js | 17 ++++++++--------- src/feed.js | 7 ++++++- src/webserver.js | 12 +++++------- 4 files changed, 22 insertions(+), 18 deletions(-) diff --git a/public/templates/header.tpl b/public/templates/header.tpl index 58e9fec967..896c009e74 100644 --- a/public/templates/header.tpl +++ b/public/templates/header.tpl @@ -11,6 +11,9 @@ + @@ -19,7 +22,6 @@