fix bug in input::except method when passing a string.

This commit is contained in:
Taylor Otwell
2012-03-29 15:14:46 -05:00
parent 270cdf2ffc
commit c6125edc66
2 changed files with 2 additions and 1 deletions

View File

@@ -96,7 +96,7 @@ class Input {
*/
public static function except($keys)
{
return array_diff_key(static::get(), array_flip($keys));
return array_diff_key(static::get(), array_flip((array) $keys));
}
/**