Fixed double quotes to single quotes
This commit is contained in:
parent
be9d359937
commit
93c386f612
@ -1170,12 +1170,12 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
|
|||||||
*/
|
*/
|
||||||
public function getClassnameToReturn()
|
public function getClassnameToReturn()
|
||||||
{
|
{
|
||||||
if (!isset($this->options["subclasses"])) {
|
if (!isset($this->options['subclasses'])) {
|
||||||
return $this->options['name'];
|
return $this->options['name'];
|
||||||
}
|
}
|
||||||
foreach ($this->options["subclasses"] as $subclass) {
|
foreach ($this->options['subclasses'] as $subclass) {
|
||||||
$table = $this->conn->getTable($subclass);
|
$table = $this->conn->getTable($subclass);
|
||||||
$inheritanceMap = $table->getOption("inheritanceMap");
|
$inheritanceMap = $table->getOption('inheritanceMap');
|
||||||
$nomatch = false;
|
$nomatch = false;
|
||||||
foreach ($inheritanceMap as $key => $value) {
|
foreach ($inheritanceMap as $key => $value) {
|
||||||
if (!isset($this->data[$key]) || $this->data[$key] != $value) {
|
if (!isset($this->data[$key]) || $this->data[$key] != $value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user