Skip to content
Browse files

Added todo

  • Loading branch information...
1 parent 72d202b commit 68d8d00116dbeafcd1d2c78d32273a15bf2a9700 @intel352 committed Apr 18, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Document.php
View
3 Document.php
@@ -836,6 +836,9 @@ public function getAttributes($names = true) {
public function setAttributes($values, $safeOnly = true) {
if (!is_array($values))
return;
+ /**
+ * @todo Intersect keys from $values against attribute names, to properly mark attributes as modified
+ */
$this->_modifiedAttributes += $safeOnly ? $this->getSafeAttributeNames() : $this->attributeNames();
return parent::setAttributes($values, $safeOnly);
}

0 comments on commit 68d8d00

Please sign in to comment.
Something went wrong with that request. Please try again.