Commit b625ebdc authored by Taylor Otwell's avatar Taylor Otwell

Fix bug in redirect.

parent 0b3ecf89
......@@ -79,9 +79,9 @@ class Redirect extends Response {
*/
public static function __callStatic($method, $parameters)
{
$parameters = (isset($parameters[0])) ? $parameters[0] : array();
$status = (isset($parameters[1])) ? $parameters[1] : 302;
$parameters = (isset($parameters[0])) ? $parameters[0] : array();
if (strpos($method, 'to_secure_') === 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment