diff options
author | Andrey Andreev <narf@devilix.net> | 2016-12-14 13:09:27 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-12-14 13:09:27 +0100 |
commit | a299f56629c764afd8909c90ca3bb36625e84109 (patch) | |
tree | edbed9a1c393fbbd30a4f64c94bb7cf17dbf5d4c | |
parent | ff773c059cb984920767dd6187c30a77e5bf78c9 (diff) |
Remove dead parameter from form_upload()
Close #3558
-rw-r--r-- | system/helpers/form_helper.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 9756437ae..496fc1055 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -244,11 +244,10 @@ if ( ! function_exists('form_upload')) * Identical to the input function but adds the "file" type * * @param mixed - * @param string * @param mixed * @return string */ - function form_upload($data = '', $value = '', $extra = '') + function form_upload($data = '', $extra = '') { $defaults = array('type' => 'file', 'name' => ''); is_array($data) OR $data = array('name' => $data); |