summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-02-20 15:53:12 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-02-20 15:53:12 +0000
commit5bc98c7b2e009e5516ebd9350f372eaffcffb959 (patch)
treec3c196582801a9b5d113101da504f129c315a25f /app/views
parent022d9a1254c4c7dfd043e1f56d7b4afc52baad3b (diff)
downloadredmine-5bc98c7b2e009e5516ebd9350f372eaffcffb959.tar.gz
redmine-5bc98c7b2e009e5516ebd9350f372eaffcffb959.zip
Merged r21414 to 4.1-stable (#36494).
git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@21421 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/wiki/show.api.rsb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/show.api.rsb b/app/views/wiki/show.api.rsb
index 8e082e123..6165a94cc 100644
--- a/app/views/wiki/show.api.rsb
+++ b/app/views/wiki/show.api.rsb
@@ -5,7 +5,7 @@ api.wiki_page do
end
api.text @content.text
api.version @content.version
- api.author(:id => @content.author_id, :name => @content.author.name)
+ api.author(:id => @content.author_id, :name => @content.author.name) unless @content.author_id.nil?
api.comments @content.comments
api.created_on @page.created_on
api.updated_on @content.updated_on