Array_keys() warning

If you call request() without the 3rd parameter it throws the following warning:
<pre>Warning: array_keys() expects parameter 1 to be array, null given</pre>

So, $data needs to be an empty array(), not NULL.