docgen: fix doc since tag retrieval

This commit is contained in:
Daniel Kolesa 2016-04-20 12:49:51 +01:00
parent 6723b8d071
commit 4e404addc1
1 changed files with 2 additions and 2 deletions

View File

@ -1100,8 +1100,8 @@ local write_full_doc = function(f, doc1, doc2)
if doc2 then
since = doc2:since_get()
end
if not since and doc then
since = doc:since_get()
if not since and doc1 then
since = doc1:since_get()
end
if since then
f:write_i(since)