MSD-12
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:
Ursprung
19aa858b45
Commit
2e5ac861c7
1 geänderte Dateien mit 18 neuen und 16 gelöschten Zeilen
|
@ -319,6 +319,7 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
|
|||
)
|
||||
);
|
||||
|
||||
if ($index > 0) {
|
||||
$this->addElement(
|
||||
'button',
|
||||
'ftpDelete' . $index,
|
||||
|
@ -336,6 +337,7 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
|
|||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get valid values
|
||||
|
|
Laden …
In neuem Issue referenzieren