-
This commit is contained in:
parent
0038138095
commit
769fd478ad
@ -1010,7 +1010,7 @@ final class Doctrine
|
|||||||
/**
|
/**
|
||||||
* classifyCallback
|
* classifyCallback
|
||||||
*
|
*
|
||||||
* Callback function to classify a classname propperly.
|
* Callback function to classify a classname properly.
|
||||||
*
|
*
|
||||||
* @param array $matches An array of matches from a pcre_replace call
|
* @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.
|
* @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)
|
public static function makeDirectories($path, $mode = 0777)
|
||||||
{
|
{
|
||||||
if (is_dir($path) || is_file($path))
|
if (is_dir($path) || is_file($path)) {
|
||||||
{
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ class Doctrine_Template_I18n extends Doctrine_Template
|
|||||||
|
|
||||||
$id = $this->_table->getIdentifier();
|
$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]));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user