only run once per page request #3951
Merge pull request #4227 from openscholar/3951-bugfix

only run once per page request #3951