summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-20 22:39:14 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-20 22:39:14 +0200
commit862545a5adb76df0393022b3506eb203c9a543d7 (patch)
tree5e5f4091292b382a35a565036a3d6fa4b7432b7a /system
parenta5c711d6a3c8d4d9ba519ed40f9813e7d130c8ac (diff)
Added form_prep() call to set_value()
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));
}
}