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
769fd478
Commit
769fd478
authored
Nov 08, 2007
by
Jonathan.Wage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-
parent
00381380
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Doctrine.php
lib/Doctrine.php
+2
-3
I18n.php
lib/Doctrine/Template/I18n.php
+1
-1
No files found.
lib/Doctrine.php
View file @
769fd478
...
...
@@ -1010,7 +1010,7 @@ final class Doctrine
/**
* classifyCallback
*
* Callback function to classify a classname prop
p
erly.
* Callback function to classify a classname properly.
*
* @param array $matches An array of matches from a pcre_replace call
* @return string A string with matches 1 and mathces 3 in upper case.
...
...
@@ -1047,8 +1047,7 @@ final class Doctrine
*/
public
static
function
makeDirectories
(
$path
,
$mode
=
0777
)
{
if
(
is_dir
(
$path
)
||
is_file
(
$path
))
{
if
(
is_dir
(
$path
)
||
is_file
(
$path
))
{
return
true
;
}
...
...
lib/Doctrine/Template/I18n.php
View file @
769fd478
...
...
@@ -79,7 +79,7 @@ class Doctrine_Template_I18n extends Doctrine_Template
$id
=
$this
->
_table
->
getIdentifier
();
$this
->
hasMany
(
$className
.
' as Translation'
,
array
(
'local'
=>
$id
,
'foreign'
=>
$id
));
$this
->
hasMany
(
$className
.
' as Translation'
,
array
(
'local'
=>
$id
[
0
],
'foreign'
=>
$id
[
0
]
));
}
/**
...
...
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