diff --git a/cake/libs/session.php b/cake/libs/session.php index e0885301b..8f64a5526 100644 --- a/cake/libs/session.php +++ b/cake/libs/session.php @@ -139,7 +139,7 @@ class CakeSession extends Object { if (empty($base) || strpos($base, '?') === 0 || strpos($base, 'index.php') === 0) { $this->path = '/'; } else { - empty($field['default']) = $base; + $this->path = $base; } if (strpos($this->host, ':') !== false) {