Fix formatting on Session::has method.
This commit is contained in:
parent
2ef32608f2
commit
525f53b54c
|
@ -78,11 +78,11 @@ public static function has($key)
|
||||||
foreach (func_get_args() as $key)
|
foreach (func_get_args() as $key)
|
||||||
{
|
{
|
||||||
if ( ! array_key_exists($key, static::$session['data']) and
|
if ( ! array_key_exists($key, static::$session['data']) and
|
||||||
! array_key_exists(':old:'.$key, static::$session['data']) and
|
! array_key_exists(':old:'.$key, static::$session['data']) and
|
||||||
! array_key_exists(':new:'.$key, static::$session['data']))
|
! array_key_exists(':new:'.$key, static::$session['data']))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue