Commit e78c90b9 authored by Taylor Otwell's avatar Taylor Otwell

Merge branch 'develop' into feature/http-foundation

parents 232bf01a 250541b2
......@@ -698,11 +698,11 @@ abstract class Model {
// to perform the appropriate action based on the method.
if (starts_with($method, 'get_'))
{
return $this->attributes[substr($method, 4)];
return $this->get_attribute(substr($method, 4));
}
elseif (starts_with($method, 'set_'))
{
$this->attributes[substr($method, 4)] = $parameters[0];
$this->set_attribute(substr($method, 4), $parameters[0]);
}
// Finally we will assume that the method is actually the beginning of a
......
......@@ -28,6 +28,7 @@
- Fixed replacement of optional parameters in URL::transpose method.
- Improved View performance by only loading contents from file once.
- Fix handling of URLs beginning with has in URL::to.
- Fix the resolution of unset Eloquent attributes.
<a name="upgrade-3.2"></a>
## Upgrading From 3.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment