1
0
Fork 0

Bug fix FTP-Test:

- if ftp connection test failed a warning was thrwon when trying to close the connection
Dieser Commit ist enthalten in:
DSB 2012-08-04 10:43:39 +00:00
Ursprung edc44e2f30
Commit 025b5c339d
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -380,7 +380,9 @@ class ConfigController extends Zend_Controller_Action
}
// close ftp connection
ftp_close($ftpStream);
if (is_resource($ftpStream)) {
ftp_close($ftpStream);
}
}
$this->_forward('index');
}