Skip to content
This repository
Browse code

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
Andrew O'Neil authored April 11, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  control/Controller.php
2  control/Controller.php
@@ -122,7 +122,7 @@ function Link() {
122 122
 	 * @return SS_HTTPResponse The response that this controller produces, 
123 123
 	 *  including HTTP headers such as redirection info
124 124
 	 */
125  
-	function handleRequest(SS_HTTPRequest $request, DataModel $model = null) {
  125
+	function handleRequest(SS_HTTPRequest $request, DataModel $model) {
126 126
 		if(!$request) user_error("Controller::handleRequest() not passed a request!", E_USER_ERROR);
127 127
 		
128 128
 		$this->pushCurrent();

0 notes on commit d368f36

Please sign in to comment.
Something went wrong with that request. Please try again.