Browse Source

Merge pull request #4169 from thinkingmedia/patch-1

Added missing return statement.
ADmad 11 years ago
parent
commit
fa2cba6dff
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Cake/Network/CakeResponse.php

+ 1 - 0
lib/Cake/Network/CakeResponse.php

@@ -597,6 +597,7 @@ class CakeResponse {
 			return isset($headers['Location']) ? $headers['Location'] : null;
 		}
 		$this->header('Location', $url);
+		return null;
 	}
 
 /**