fixed record state handling with aggregate values
This commit is contained in:
parent
2125718d30
commit
b0c7dce47f
@ -175,7 +175,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
|
||||
$this->prepareIdentifiers($exists);
|
||||
|
||||
if ( ! $exists) {
|
||||
if ($count > 0) {
|
||||
if ($count > count($this->_values)) {
|
||||
$this->_state = Doctrine_Record::STATE_TDIRTY;
|
||||
} else {
|
||||
$this->_state = Doctrine_Record::STATE_TCLEAN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user