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
732bc89a
Commit
732bc89a
authored
Mar 31, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #300
parent
a3ceef45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
Collection.php
lib/Doctrine/Collection.php
+0
-1
Record.php
lib/Doctrine/Record.php
+1
-1
No files found.
lib/Doctrine/Collection.php
View file @
732bc89a
...
@@ -81,7 +81,6 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
...
@@ -81,7 +81,6 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
{
{
if
(
!
(
$table
instanceof
Doctrine_Table
))
{
if
(
!
(
$table
instanceof
Doctrine_Table
))
{
$table
=
Doctrine_Manager
::
getInstance
()
$table
=
Doctrine_Manager
::
getInstance
()
->
getCurrentConnection
()
->
getTable
(
$table
);
->
getTable
(
$table
);
}
}
$this
->
table
=
$table
;
$this
->
table
=
$table
;
...
...
lib/Doctrine/Record.php
View file @
732bc89a
...
@@ -522,7 +522,7 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
...
@@ -522,7 +522,7 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
public
function
unserialize
(
$serialized
)
public
function
unserialize
(
$serialized
)
{
{
$manager
=
Doctrine_Manager
::
getInstance
();
$manager
=
Doctrine_Manager
::
getInstance
();
$connection
=
$manager
->
getCurrentConnection
(
);
$connection
=
$manager
->
getConnectionForComponent
(
get_class
(
$this
)
);
$this
->
oid
=
self
::
$index
;
$this
->
oid
=
self
::
$index
;
self
::
$index
++
;
self
::
$index
++
;
...
...
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