1
0
Fork 0
Added: if only one ftp connection is set up hide delete button no matter whether it is active or not. This way "undefined index"-notices should be prevented.
Dieser Commit ist enthalten in:
DSB 2011-08-09 19:23:29 +00:00
Ursprung 19aa858b45
Commit 2e5ac861c7

Datei anzeigen

@ -319,6 +319,7 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
) )
); );
if ($index > 0) {
$this->addElement( $this->addElement(
'button', 'button',
'ftpDelete' . $index, 'ftpDelete' . $index,
@ -336,6 +337,7 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
) )
); );
} }
}
/** /**
* Get valid values * Get valid values