Commit 769fd478 authored by Jonathan.Wage's avatar Jonathan.Wage

-

parent 00381380
...@@ -1010,7 +1010,7 @@ final class Doctrine ...@@ -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 ...@@ -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 ...@@ -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]));
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment