mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-14 04:13:46 +02:00
Fix form requests
This commit is contained in:
@@ -44,9 +44,6 @@ abstract class AdminFormRequest extends FormRequest
|
||||
*/
|
||||
public function normalize($only = [])
|
||||
{
|
||||
return array_merge(
|
||||
$this->only($only),
|
||||
$this->intersect(array_keys($this->rules()))
|
||||
);
|
||||
return $this->all(empty($only) ? array_keys($this->rules()) : $only);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user