pkp / healthSciences

An official theme for OJS 3.1.1+ designed for health science journals or any journal that wants a clean, modern appearance.
30 stars 65 forks source link

title: Array in article_summary.tpl when article hasn't abstract hs 1.1.0 #222

Open gurumelo opened 1 year ago

gurumelo commented 1 year ago

Describe the bug It's an upgrade from OJS 3.2 to OJS 3.3.0-13 HS 1.1.0

To Reproduce Steps to reproduce the behavior:

  1. 3.2 to 33. When an article hasn't abstract. article_summary.tpl show title: Array
  2. Weird. If i save the article in 3.2, doesn't appear ":Array"

title

gurumelo commented 1 year ago

I replace in templates/frontend/objects/article_summary.tpl {$article->getLocalizedFullTitle()|escape} by {$article->getLocalizedTitle()|strip_unsafe_html} and it's fixed