Commits

Phil Sturgeon committed 300fa12

Updated input documentation to use NULL instead of empty string for new post() and get() changes.

Comments (0)

Files changed (1)

user_guide/libraries/input.html

 <code>
 	$this->input->post(); // returns all POST items with XSS filter
 	<br />
-	$this->input->post('', FALSE); // returns all POST items without XSS
+	$this->input->post(NULL, FALSE); // returns all POST items without XSS
 </code>
 
 <h2>$this->input->get()</h2>
 <code>
 	$this->input->get(); // returns all GET items with XSS filter
 	<br />
-	$this->input->get('', FALSE); // returns all GET items without XSS filtering
+	$this->input->get(NULL, FALSE); // returns all GET items without XSS filtering
 </code>
 
 <h2>$this->input->get_post()</h2>