Remove notice of undefined index in cp_module.
Merge pull request #4670 from openscholar/4669

Remove notice of undefined index in cp_module.