0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

fixed bug where an undefined variable could be dereferenced

which could cause the server to choke.
This commit is contained in:
Tony Gaskell 2013-10-22 03:20:09 -10:00
parent cf9b5d9441
commit 2809e405d5

View file

@ -261,7 +261,7 @@ coreHelpers = function (ghost) {
blog = ghost.blogGlobals();
title = blog.title;
} else {
title = this.post.title;
title = this.post ? this.post.title : '';
}
}