[TASK] Cleanup parameter mismatches
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / Generic / Backend.php
index f3f6035..746db32 100644 (file)
@@ -394,7 +394,7 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface
                 }
             } elseif ($propertyValue instanceof \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface
                 && $object instanceof ObjectMonitoringInterface) {
-                if ($object->_isDirty($propertyName)) {
+                if ($object->_isDirty()) {
                     if ($propertyValue->_isNew()) {
                         $this->insertObject($propertyValue, $object, $propertyName);
                     }