fix: [internal] blackhole function default fixed

pull/5148/head
iglocska 2019-09-10 15:22:55 +02:00
parent 42a9e533b2
commit 77f767ff02
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ class AppController extends Controller
return $name;
}
public function blackhole($type)
public function blackhole($type=false)
{
if ($type === 'csrf') {
throw new BadRequestException($type);