Skip to content

Commit

Permalink
last_author_email was not being set
Browse files Browse the repository at this point in the history
  • Loading branch information
TomK32 authored and Sven Fuchs committed Jul 14, 2008
1 parent 1b02ad4 commit ea30b74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vendor/engines/adva_forum/app/models/topic.rb
Expand Up @@ -23,6 +23,7 @@ class << self
def post(author, attributes)
topic = Topic.new attributes
topic.last_author = author
topic.last_author_email = author.email
topic.reply author, :body => attributes[:body]
# revise topic, attributes
topic
Expand Down

0 comments on commit ea30b74

Please sign in to comment.