diff options
author | Derek Allard <derek.allard@ellislab.com> | 2009-02-18 02:29:50 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2009-02-18 02:29:50 +0100 |
commit | 3343f462766d110e8c15c6f52d1ef047418c2c98 (patch) | |
tree | 441655b3ef27f41be7daa80c88dbc7a38f922835 | |
parent | 9c86ce5ca11c2d7471d016a7195254c1934472e2 (diff) |
added a missing bracket
-rw-r--r-- | system/libraries/Upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 03a7b21f6..9a47aa88b 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -187,7 +187,7 @@ class CI_Upload { // Set the uploaded data as class variables $this->file_temp = $_FILES[$field]['tmp_name']; - $this->file_name = $this->_prep_filename($_FILES[$field]['name']; + $this->file_name = $this->_prep_filename($_FILES[$field]['name']); $this->file_size = $_FILES[$field]['size']; $this->file_type = preg_replace("/^(.+?);.*$/", "\\1", $_FILES[$field]['type']); $this->file_type = strtolower($this->file_type); |