diff --git a/includes/ftp/ftp.class.php b/includes/ftp/ftp.class.php index 4b0fad7..9b07be8 100644 --- a/includes/ftp/ftp.class.php +++ b/includes/ftp/ftp.class.php @@ -81,7 +81,7 @@ public function mkdir($ftp, $ftpdir) }); foreach ($dirs as $dir) { - if (!$this->dirExists($ftp, $dir)) { + if (!$this->dirExists($dir)) { ftp_mkdir($ftp, $dir); }