Bug quand il n'y a aucun compte ftp (thx BrixSat)
This commit is contained in:
parent
6cf380e400
commit
3986848445
|
@ -64,6 +64,8 @@ class m_ftp {
|
|||
$c['protocol']="ftp";
|
||||
$c['values']=Array();
|
||||
|
||||
$tt = $this->get_list();
|
||||
if (empty($tt) || !is_array($tt)) return $c;
|
||||
foreach ($this->get_list() as $v ) {
|
||||
$c['values'][$v['id']]=$v['login'];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue