Fix formatting on Session::has method.

This commit is contained in:
Taylor Otwell
2011-06-15 11:19:52 -07:00
parent 2ef32608f2
commit 525f53b54c

View File

@@ -78,11 +78,11 @@ class Session {
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;
}
! array_key_exists(':old:'.$key, static::$session['data']) and
! array_key_exists(':new:'.$key, static::$session['data']))
{
return false;
}
}
return true;