Skip to content

Commit

Permalink
do not mark a load as dirty.
Browse files Browse the repository at this point in the history
  • Loading branch information
padams committed Jan 24, 2022
1 parent dbf3674 commit 890393a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions owa_entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function setProperties($array, $apply_filters = false) {
//if ( ! empty( $array[$v] ) ) {
if ( array_key_exists( $v, $array ) ) {
if ( ! empty( $this->properties ) ) {
$this->set($v, $array[$v], $apply_filters);
$this->set($v, $array[$v], $apply_filters, false);
}
}
}
Expand All @@ -198,7 +198,7 @@ function setGuid($string) {

}

function set($name, $value, $filter = true) {
function set($name, $value, $filter = true, $mark_dirty = true ) {

if ( array_key_exists( $name, $this->properties ) ) {

Expand Down

0 comments on commit 890393a

Please sign in to comment.