Skip to content

Commit

Permalink
MINOR: Remove default paramenter from handleRequest() so it complies …
Browse files Browse the repository at this point in the history
…with the interface correctly. Fixes E_STRICT warning.
  • Loading branch information
andrewandante committed Apr 11, 2012
1 parent daab8f4 commit d368f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/Controller.php
Expand Up @@ -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);

$this->pushCurrent();
Expand Down

0 comments on commit d368f36

Please sign in to comment.