Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Tomáš Trávníček
doctrine-dbal
Commits
dd076e47
Commit
dd076e47
authored
Oct 08, 2007
by
phuson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added logic check for when $models array is empty, but $specifiedModels isn't
parent
18857d77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Export.php
lib/Doctrine/Data/Export.php
+6
-0
No files found.
lib/Doctrine/Data/Export.php
View file @
dd076e47
...
...
@@ -58,6 +58,12 @@ class Doctrine_Data_Export extends Doctrine_Data
$outputAll
=
true
;
// for situation when the $models array is empty, but the $specifiedModels array isn't
if
(
empty
(
$models
))
{
$models
=
$specifiedModels
;
}
foreach
(
$models
AS
$name
)
{
if
(
!
empty
(
$specifiedModels
)
AND
!
in_array
(
$name
,
$specifiedModels
))
{
...
...
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