Skip to content

Commit

Permalink
Adds journal sub+title to beta update previews
Browse files Browse the repository at this point in the history
  • Loading branch information
kaberett committed Aug 13, 2014
1 parent a31bcb3 commit 1865ae5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cgi-bin/DW/Controller/Entry.pm
Expand Up @@ -1260,8 +1260,7 @@ sub preview_handler {
$r->note( "journalid" => $u->{userid} );

# load necessary props
$u->preload_props( qw( s2_style ) );

$u->preload_props( qw( s2_style journaltitle journalsubtitle ) );

# determine style system to preview with
$ctx = LJ::S2::s2_context( $u->{s2_style} );
Expand Down

0 comments on commit 1865ae5

Please sign in to comment.