Changeset 368

Show
Ignore:
Timestamp:
09/21/07 10:16:34 (1 year ago)
Author:
bermiferrer
Message:

Adding Salaverts patch for acts_as_versioned. Keeping NULL values on records provoked new versions when storing unchanged items.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/acts_as_versioned/lib/ActsAsVersioned.php

    r356 r368  
    300300            $this->_removeIgnoredAttributes_($owner_attributes); 
    301301            foreach ($owner_attributes as $name => $value){ 
    302                 if(isset($versioned_attributes[$name]) && $versioned_attributes[$name] == $value){ 
     302                if($versioned_attributes[$name] == $value){ 
    303303                    continue; 
    304304                }