1
0
mirror of synced 2025-02-20 14:13:15 +03:00
This commit is contained in:
zYne 2007-07-23 18:27:00 +00:00
parent 53cd5ed30b
commit 752a26cb76

View File

@ -425,6 +425,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
} }
unset($tmp[$name]); unset($tmp[$name]);
} }
return $tmp; return $tmp;
} }
/** /**
@ -1044,6 +1045,10 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
$this->_data[$v] = $this->_data[$v]->getIncremented(); $this->_data[$v] = $this->_data[$v]->getIncremented();
} }
if ($this->_data[$v] === null) {
throw new Doctrine_Record_Exception('Unexpected null value.');
}
$a[$v] = $this->_data[$v]; $a[$v] = $this->_data[$v];
} }
} }