[core:smartyplugin] correction for PHP < 5.2.3
Merge branch 'master' into 2.3