1
0
Fork 0
Changed name of a variable to reflect its real meaning.
Dieser Commit ist enthalten in:
DSB 2011-08-22 16:59:22 +00:00
Ursprung dd584f2d16
Commit fa559edcdf

Datei anzeigen

@ -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 = '';