Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
e78c90b9
Commit
e78c90b9
authored
Apr 04, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into feature/http-foundation
parents
232bf01a
250541b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
model.php
laravel/database/eloquent/model.php
+2
-2
changes.md
laravel/documentation/changes.md
+1
-0
No files found.
laravel/database/eloquent/model.php
View file @
e78c90b9
...
...
@@ -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
...
...
laravel/documentation/changes.md
View file @
e78c90b9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment