diff --git a/src/IDF/Form/IssueCreate.php b/src/IDF/Form/IssueCreate.php index 65e74e5..9cacac6 100644 --- a/src/IDF/Form/IssueCreate.php +++ b/src/IDF/Form/IssueCreate.php @@ -141,7 +141,7 @@ class IDF_Form_IssueCreate extends Pluf_Form $conf = new IDF_Conf(); $conf->setProject($this->project); $onemax = array(); - foreach (split(',', $conf->getVal('labels_issue_one_max', IDF_Form_IssueTrackingConf::init_one_max)) as $class) { + foreach (explode(',', $conf->getVal('labels_issue_one_max', IDF_Form_IssueTrackingConf::init_one_max)) as $class) { if (trim($class) != '') { $onemax[] = mb_strtolower(trim($class)); } diff --git a/src/IDF/Form/UpdateUpload.php b/src/IDF/Form/UpdateUpload.php index 5b9e19d..f25c81f 100644 --- a/src/IDF/Form/UpdateUpload.php +++ b/src/IDF/Form/UpdateUpload.php @@ -86,7 +86,7 @@ class IDF_Form_UpdateUpload extends Pluf_Form $conf = new IDF_Conf(); $conf->setProject($this->project); $onemax = array(); - foreach (split(',', $conf->getVal('labels_download_one_max', IDF_Form_UploadConf::init_one_max)) as $class) { + foreach (explode(',', $conf->getVal('labels_download_one_max', IDF_Form_UploadConf::init_one_max)) as $class) { if (trim($class) != '') { $onemax[] = mb_strtolower(trim($class)); } diff --git a/src/IDF/Form/Upload.php b/src/IDF/Form/Upload.php index 1861603..7379e2a 100644 --- a/src/IDF/Form/Upload.php +++ b/src/IDF/Form/Upload.php @@ -96,7 +96,7 @@ class IDF_Form_Upload extends Pluf_Form $conf = new IDF_Conf(); $conf->setProject($this->project); $onemax = array(); - foreach (split(',', $conf->getVal('labels_download_one_max', IDF_Form_UploadConf::init_one_max)) as $class) { + foreach (explode(',', $conf->getVal('labels_download_one_max', IDF_Form_UploadConf::init_one_max)) as $class) { if (trim($class) != '') { $onemax[] = mb_strtolower(trim($class)); } diff --git a/src/IDF/Form/WikiCreate.php b/src/IDF/Form/WikiCreate.php index 22ecaff..9cca55a 100644 --- a/src/IDF/Form/WikiCreate.php +++ b/src/IDF/Form/WikiCreate.php @@ -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)); } diff --git a/src/IDF/Form/WikiUpdate.php b/src/IDF/Form/WikiUpdate.php index bfa9c4e..b043511 100644 --- a/src/IDF/Form/WikiUpdate.php +++ b/src/IDF/Form/WikiUpdate.php @@ -138,7 +138,7 @@ class IDF_Form_WikiUpdate extends Pluf_Form $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)); }