mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 04:39:01 +02:00
FIX: Better message when form action handler not found.
Fixes #4622 to some extent, although this fix will be most useful when https://github.com/silverstripe/silverstripe-errorpage/issues/30 is addressed also.
This commit is contained in:
parent
5851979096
commit
983d36b7ee
@ -260,7 +260,7 @@ class FormRequestHandler extends RequestHandler
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->httpError(404);
|
return $this->httpError(404, "Could not find a suitable form-action callback function");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user