mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Merge pull request #1232 from thgaskell/master
Undefined post data causing server to crash
This commit is contained in:
commit
b319e5b800
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ coreHelpers = function (ghost) {
|
|||
blog = ghost.blogGlobals();
|
||||
title = blog.title;
|
||||
} else {
|
||||
title = this.post.title;
|
||||
title = this.post ? this.post.title : '';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue