Remove notice caused by undefined index.
Merge branch 'SCHOLAR-3.x' into 5293
Merge pull request #5296 from openscholar/5293

Remove notice caused by undefined index.