mirror of https://github.com/MISP/MISP
fix: [internal] blackhole function default fixed
parent
42a9e533b2
commit
77f767ff02
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue