Skip to content

Commit

Permalink
Fixed code for PHP 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Jan 21, 2014
1 parent ec71960 commit 5d016a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Network/CakeResponse.php
Expand Up @@ -1266,7 +1266,7 @@ public function cookie($options = null) {
* @return void
*/
public function cors(CakeRequest $request, $allowedDomains, $allowedMethods = array()) {
$origin = $request::header('Origin');
$origin = $request->header('Origin');
if (!$origin) {
return;
}
Expand Down

0 comments on commit 5d016a7

Please sign in to comment.