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