summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/helpers/form_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index a45faf631..109d8c17b 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -598,10 +598,10 @@ if ( ! function_exists('set_value'))
return $default;
}
- return $_POST[$field];
+ return form_prep($_POST[$field]);
}
- return $OBJ->set_value($field, $default);
+ return form_prep($OBJ->set_value($field, $default));
}
}