Session throws an Exception when it's not started

This commit is contained in:
Phill Sparks
2012-01-20 15:33:53 +00:00
parent 9bcbe6a357
commit b4621e489f

View File

@@ -111,7 +111,7 @@ class Session {
*/
public static function __callStatic($method, $parameters)
{
return call_user_func_array(array(static::$instance, $method), $parameters);
return call_user_func_array(array(static::instance(), $method), $parameters);
}
}