From 430b14cccd8e05de5b6b1268239e492ddea8f308 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Fri, 3 Jan 2014 17:31:26 +0200 Subject: Make CI_FTP::mkdir()'s first parameter mandatory (optional doesn't make sense) --- system/libraries/Ftp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php index 2489f490f..84ecf133c 100644 --- a/system/libraries/Ftp.php +++ b/system/libraries/Ftp.php @@ -247,7 +247,7 @@ class CI_FTP { * @param int $permissions * @return bool */ - public function mkdir($path = '', $permissions = NULL) + public function mkdir($path, $permissions = NULL) { if ($path === '' OR ! $this->_is_conn()) { -- cgit v1.2.3-24-g4f1b