1
0
Fork 0
Dieser Commit ist enthalten in:
DSB 2012-10-27 14:01:49 +00:00
Ursprung c4a04c1812
Commit bf306fb369
2 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -27,7 +27,7 @@ class DumpController extends Msd_Controller_Action
{ {
$dump = new Msd_Dump(); $dump = new Msd_Dump();
$dump->prepareDumpProcess(); $dump->prepareDumpProcess();
$this->view->dumpData = ''; $this->view->dumpData = new StdClass();
$this->view->dumpData->nrOfDatabasesToBackup = $this->view->dumpData->nrOfDatabasesToBackup =
count($dump->dbsToBackup); count($dump->dbsToBackup);
$this->view->dumpData->databasesToBackup = $this->view->dumpData->databasesToBackup =

Datei anzeigen

@ -387,9 +387,7 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
{ {
if (!empty($defaults['ftp'])) { if (!empty($defaults['ftp'])) {
$ftp = array(); $ftp = array();
while ( while (false !== (list($ftpId, $ftpData) = each($defaults['ftp']))) {
false !== (list($ftpId, $ftpData) = each($defaults['ftp']))
) {
foreach ($ftpData as $ftpKey => $ftpValue) { foreach ($ftpData as $ftpKey => $ftpValue) {
$ftp['ftp_' . $ftpId . '_' . $ftpKey] = $ftpValue; $ftp['ftp_' . $ftpId . '_' . $ftpKey] = $ftpValue;
} }