We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 6119

Summary: "References" header appears when there are no references
Product: OJS Reporter: James MacGregor <jmacgreg>
Component: Submissions and PublishingAssignee: jerico <jerico.dev>
Severity: normal CC: a.marchitelli, alec, jerico.dev, pkp-support
Priority: P5    
Version: 2.3.4   
Hardware: PC   
OS: Mac OS X 10.6   
Version Reported In: Also Affects:
Attachments: patch against OJS 2.3.3-3
Patch against lib-pkp (tagged for OJS version 2.3.3-3)

Description James MacGregor 2010-11-02 21:12:43 PDT
The "References" header (message key submission.citation) appears on the article abstract regardless of whether or not there are any references to list. The display code in templates/article/article.tpl is: 

	{if $citationFactory}
		<h4>{translate key="submission.citations"}</h4>
		<br />
			{iterate from=citationFactory item=citation}
		<br />

... I'm guessing there needs to be some sort of if citationsExists check, but I'm not sure how to do this.
Comment 2 jerico 2010-11-15 19:59:20 PST
Created attachment 3331 [details]
patch against OJS 2.3.3-3
Comment 3 jerico 2010-11-15 20:01:07 PST
Created attachment 3332 [details]
Patch against lib-pkp (tagged for OJS version 2.3.3-3)