Shorten exception message.
This commit is contained in:
parent
fc8b30159e
commit
2c2344c39f
|
@ -123,7 +123,7 @@ public static function old($key = null, $default = null)
|
||||||
{
|
{
|
||||||
if (Config::get('session.driver') == '')
|
if (Config::get('session.driver') == '')
|
||||||
{
|
{
|
||||||
throw new \UnexpectedValueException('A session driver must be specified in order to access old input.');
|
throw new \UnexpectedValueException('A session driver must be specified to access old input.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$old = IoC::core('session')->get(Input::old_input, array());
|
$old = IoC::core('session')->get(Input::old_input, array());
|
||||||
|
|
Loading…
Reference in New Issue