Makes the core modules view compatible with old php version (5.3)