Skip to content

Commit

Permalink
Fix notice error when App.baseUrl is undefined.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 15, 2013
1 parent 616907c commit 46e57d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cake/Network/Request.php
Expand Up @@ -326,7 +326,7 @@ protected static function _url($config) {
* @link https://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/3318
*/
protected static function _base() {
$base = $dir = $webroot = null;
$base = $dir = $webroot = $baseUrl = null;
$config = Configure::read('App');
extract($config);

Expand Down

0 comments on commit 46e57d8

Please sign in to comment.