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
c6125edc
Commit
c6125edc
authored
Mar 29, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug in input::except method when passing a string.
parent
270cdf2f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
changes.md
changes.md
+1
-0
input.php
laravel/input.php
+1
-1
No files found.
changes.md
View file @
c6125edc
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
<a
name=
"3.2"
></a>
<a
name=
"3.2"
></a>
## Laravel 3.2
## Laravel 3.2
-
Fixed the passing of strings into the Input::except method.
-
Fixed replacement of optional parameters in URL::transpose method.
-
Fixed replacement of optional parameters in URL::transpose method.
-
Added "to_array" method to the base Eloquent model.
-
Added "to_array" method to the base Eloquent model.
-
Added "$hidden" static variable to the base Eloquent model.
-
Added "$hidden" static variable to the base Eloquent model.
...
...
laravel/input.php
View file @
c6125edc
...
@@ -96,7 +96,7 @@ class Input {
...
@@ -96,7 +96,7 @@ class Input {
*/
*/
public
static
function
except
(
$keys
)
public
static
function
except
(
$keys
)
{
{
return
array_diff_key
(
static
::
get
(),
array_flip
(
$keys
));
return
array_diff_key
(
static
::
get
(),
array_flip
(
(
array
)
$keys
));
}
}
/**
/**
...
...
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