From 4e404addc1666d301ca5aa4e7fff087f31e5b77b Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Wed, 20 Apr 2016 12:49:51 +0100 Subject: [PATCH] docgen: fix doc since tag retrieval --- gendoc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gendoc.lua b/gendoc.lua index cb0483f..b5a7292 100644 --- a/gendoc.lua +++ b/gendoc.lua @@ -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) -- 2.7.4