QA
Dieser Commit ist enthalten in:
Ursprung
2ad817f925
Commit
19aa858b45
1 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
|
@ -270,10 +270,10 @@ class ConfigController extends Zend_Controller_Action
|
||||||
$ftpConfig = $this->view->config->get('config.ftp');
|
$ftpConfig = $this->view->config->get('config.ftp');
|
||||||
if (count($ftpConfig) > 1) {
|
if (count($ftpConfig) > 1) {
|
||||||
if (isset($ftpConfig[$index])) {
|
if (isset($ftpConfig[$index])) {
|
||||||
unset($ftpConfig[$index]);
|
unset($ftpConfig[$index]);
|
||||||
sort($ftpConfig);
|
sort($ftpConfig);
|
||||||
}
|
}
|
||||||
$this->view->config->set('config.ftp', $ftpConfig);
|
$this->view->config->set('config.ftp', $ftpConfig);
|
||||||
}
|
}
|
||||||
$this->_forward('index');
|
$this->_forward('index');
|
||||||
}
|
}
|
||||||
|
@ -292,8 +292,8 @@ class ConfigController extends Zend_Controller_Action
|
||||||
$group = $subForm->getName();
|
$group = $subForm->getName();
|
||||||
$elements = array_keys($subForm->getElements());
|
$elements = array_keys($subForm->getElements());
|
||||||
foreach ($elements as $element) {
|
foreach ($elements as $element) {
|
||||||
$element = str_replace($group . '_', '', $element);
|
$element = str_replace($group . '_', '', $element);
|
||||||
$element = str_replace('_', '.', $element);
|
$element = str_replace('_', '.', $element);
|
||||||
$value = $this->view->config->get(
|
$value = $this->view->config->get(
|
||||||
'config.' .
|
'config.' .
|
||||||
$group . '.' .
|
$group . '.' .
|
||||||
|
|
Laden …
In neuem Issue referenzieren