MSD-12
Changed name of a variable to reflect its real meaning.
Dieser Commit ist enthalten in:
Ursprung
dd584f2d16
Commit
fa559edcdf
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
|
@ -42,7 +42,7 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
|
||||||
|
|
||||||
$ftpConfig = $config->get('config.ftp');
|
$ftpConfig = $config->get('config.ftp');
|
||||||
$ftpKeys = array_keys($ftpConfig);
|
$ftpKeys = array_keys($ftpConfig);
|
||||||
$ftpKeysComplete = count($ftpKeys, 1);
|
$nrOfFtpProfiles = count($ftpKeys, 1);
|
||||||
foreach ($ftpKeys as $ftpConnectionId) {
|
foreach ($ftpKeys as $ftpConnectionId) {
|
||||||
$this->_addRadioActivated($ftpConnectionId);
|
$this->_addRadioActivated($ftpConnectionId);
|
||||||
$this->_addInputTimeout($ftpConnectionId);
|
$this->_addInputTimeout($ftpConnectionId);
|
||||||
|
@ -56,7 +56,7 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
|
||||||
$legend = $this->_lang->getTranslator()->_('L_FTP_CONNECTION')
|
$legend = $this->_lang->getTranslator()->_('L_FTP_CONNECTION')
|
||||||
. ' ' . ($ftpConnectionId + 1);
|
. ' ' . ($ftpConnectionId + 1);
|
||||||
|
|
||||||
if ($ftpKeysComplete > 1) {
|
if ($nrOfFtpProfiles > 1) {
|
||||||
$buttonDelete = 'ftpDelete' . $ftpConnectionId;
|
$buttonDelete = 'ftpDelete' . $ftpConnectionId;
|
||||||
} else {
|
} else {
|
||||||
$buttonDelete = '';
|
$buttonDelete = '';
|
||||||
|
|
Laden …
In neuem Issue referenzieren