Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR: Remove default paramenter from handleRequest() so it complies …

…with the interface correctly. Fixes E_STRICT warning.
  • Loading branch information...
commit d368f3605b5c75b461c88bb7084e97ce1c4cb8c9 1 parent daab8f4
@ajoneil ajoneil authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  control/Controller.php
2  control/Controller.php
@@ -122,7 +122,7 @@ function Link() {
* @return SS_HTTPResponse The response that this controller produces,
* including HTTP headers such as redirection info
- function handleRequest(SS_HTTPRequest $request, DataModel $model = null) {
+ function handleRequest(SS_HTTPRequest $request, DataModel $model) {
if(!$request) user_error("Controller::handleRequest() not passed a request!", E_USER_ERROR);
Please sign in to comment.
Something went wrong with that request. Please try again.