Fixed to use the right initialized labels.

This commit is contained in:
Loic d'Anterroches 2008-11-23 14:44:44 +01:00
parent 380df7380b
commit b7b7e7aff2

View File

@ -296,7 +296,7 @@ class IDF_Views_Wiki
$conf = new IDF_Conf(); $conf = new IDF_Conf();
$conf->setProject($project); $conf->setProject($project);
$st = preg_split("/\015\012|\015|\012/", $st = preg_split("/\015\012|\015|\012/",
$conf->getVal('labels_wiki_predefined', IDF_Form_UploadConf::init_predefined), -1, PREG_SPLIT_NO_EMPTY); $conf->getVal('labels_wiki_predefined', IDF_Form_WikiConf::init_predefined), -1, PREG_SPLIT_NO_EMPTY);
$auto = ''; $auto = '';
foreach ($st as $s) { foreach ($st as $s) {
$v = ''; $v = '';