From 87ec697f2d70f56bbf0b7c82fb43a4e56fedfec3 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 30 Jun 2011 07:45:38 -0700 Subject: [PATCH] Refactoring dynamic redirects to routes. --- system/redirect.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/redirect.php b/system/redirect.php index 51662493..70d764bb 100644 --- a/system/redirect.php +++ b/system/redirect.php @@ -77,6 +77,8 @@ class Redirect { */ public static function __callStatic($method, $parameters) { + $parameters = (isset($parameters[0])) ? $parameters[0] : array(); + // ---------------------------------------------------- // Dynamically redirect to a secure route URL. // ----------------------------------------------------