Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
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
PSDI Army
yii2
Commits
c9c59bdc
Commit
c9c59bdc
authored
Jan 23, 2014
by
Ivan Pomortsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Query.php
Using short array syntax.
parent
dd79325a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Query.php
framework/db/Query.php
+1
-1
No files found.
framework/db/Query.php
View file @
c9c59bdc
...
@@ -640,7 +640,7 @@ class Query extends Component implements QueryInterface
...
@@ -640,7 +640,7 @@ class Query extends Component implements QueryInterface
*/
*/
public
function
union
(
$sql
,
$all
=
false
)
public
function
union
(
$sql
,
$all
=
false
)
{
{
$this
->
union
[]
=
array
(
'query'
=>
$sql
,
'all'
=>
$all
)
;
$this
->
union
[]
=
[
'query'
=>
$sql
,
'all'
=>
$all
]
;
return
$this
;
return
$this
;
}
}
...
...
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