This commit is contained in:
2017-12-15 19:44:52 +01:00
parent 7f2314c00b
commit a7de7ed80a
5 changed files with 36 additions and 11 deletions
+2 -4
View File
@@ -19,14 +19,12 @@ class MY_Controller extends CI_Controller {
private function handle()
{
$this->environment();
}
function clean_input( $post )
{
$value = $this->input->post( $post );
// $escapedValue = $this->db->escape_string( $value, TRUE );
$value = $this->input->input_stream( $post, TRUE );
$denulledValue = str_replace( 'null', '', $value);