Fixed ticket 406, PHP 5.3.1 compatibility.

This commit is contained in:
Raphaël Emourgeon
2010-03-16 10:40:29 +01:00
committed by Loic d'Anterroches
parent 349970cfaf
commit 10245113d5
5 changed files with 5 additions and 5 deletions

View File

@@ -127,7 +127,7 @@ Add your content here. Format your content with:
$conf = new IDF_Conf();
$conf->setProject($this->project);
$onemax = array();
foreach (split(',', $conf->getVal('labels_wiki_one_max', IDF_Form_WikiConf::init_one_max)) as $class) {
foreach (explode(',', $conf->getVal('labels_wiki_one_max', IDF_Form_WikiConf::init_one_max)) as $class) {
if (trim($class) != '') {
$onemax[] = mb_strtolower(trim($class));
}