I'm trying to output published article number of views. Using code in article.tpl:
Code: Select all
After every article page refresh, views number increases by 2 not by 1. Looked in database, table published_articles and column "views" increases by 2 after every article page refresh.
Strange issue. Am I missing something?
Using OJS 2.4.2
MAMP, PHP 5.4.10