Fixed ticket 406, PHP 5.3.1 compatibility.
This commit is contained in:
parent
349970cfaf
commit
10245113d5
@ -141,7 +141,7 @@ class IDF_Form_IssueCreate extends Pluf_Form
|
|||||||
$conf = new IDF_Conf();
|
$conf = new IDF_Conf();
|
||||||
$conf->setProject($this->project);
|
$conf->setProject($this->project);
|
||||||
$onemax = array();
|
$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) != '') {
|
if (trim($class) != '') {
|
||||||
$onemax[] = mb_strtolower(trim($class));
|
$onemax[] = mb_strtolower(trim($class));
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ class IDF_Form_UpdateUpload extends Pluf_Form
|
|||||||
$conf = new IDF_Conf();
|
$conf = new IDF_Conf();
|
||||||
$conf->setProject($this->project);
|
$conf->setProject($this->project);
|
||||||
$onemax = array();
|
$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) != '') {
|
if (trim($class) != '') {
|
||||||
$onemax[] = mb_strtolower(trim($class));
|
$onemax[] = mb_strtolower(trim($class));
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ class IDF_Form_Upload extends Pluf_Form
|
|||||||
$conf = new IDF_Conf();
|
$conf = new IDF_Conf();
|
||||||
$conf->setProject($this->project);
|
$conf->setProject($this->project);
|
||||||
$onemax = array();
|
$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) != '') {
|
if (trim($class) != '') {
|
||||||
$onemax[] = mb_strtolower(trim($class));
|
$onemax[] = mb_strtolower(trim($class));
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ Add your content here. Format your content with:
|
|||||||
$conf = new IDF_Conf();
|
$conf = new IDF_Conf();
|
||||||
$conf->setProject($this->project);
|
$conf->setProject($this->project);
|
||||||
$onemax = array();
|
$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) != '') {
|
if (trim($class) != '') {
|
||||||
$onemax[] = mb_strtolower(trim($class));
|
$onemax[] = mb_strtolower(trim($class));
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ class IDF_Form_WikiUpdate extends Pluf_Form
|
|||||||
$conf = new IDF_Conf();
|
$conf = new IDF_Conf();
|
||||||
$conf->setProject($this->project);
|
$conf->setProject($this->project);
|
||||||
$onemax = array();
|
$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) != '') {
|
if (trim($class) != '') {
|
||||||
$onemax[] = mb_strtolower(trim($class));
|
$onemax[] = mb_strtolower(trim($class));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user