summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-12-14 13:09:27 +0100
committerAndrey Andreev <narf@devilix.net>2016-12-14 13:09:27 +0100
commita299f56629c764afd8909c90ca3bb36625e84109 (patch)
treeedbed9a1c393fbbd30a4f64c94bb7cf17dbf5d4c /system/helpers
parentff773c059cb984920767dd6187c30a77e5bf78c9 (diff)
Remove dead parameter from form_upload()
Close #3558
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/form_helper.php3
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);