Changes

no edit summary
Line 3,938: Line 3,938:  
options_t.class = cite_class_attribute_make (config.CitationClass, Mode);
 
options_t.class = cite_class_attribute_make (config.CitationClass, Mode);
    +
local Ref
 
if A['Ref'] ~= 'harv' then
 
if A['Ref'] ~= 'harv' then
local Ref = is_valid_parameter_value (A['Ref'], A:ORIGIN('Ref'), cfg.keywords_lists['ref'], nil, true); -- nil when |ref=harv; A['Ref'] else
+
Ref = is_valid_parameter_value (A['Ref'], A:ORIGIN('Ref'), cfg.keywords_lists['ref'], nil, true); -- nil when |ref=harv; A['Ref'] else
 
else
 
else
local Ref = nil
+
Ref = nil
 
end
 
end