APIv4 - Cleanup and restructure the way get query objects are constructed
[civicrm-core.git] / Civi / Api4 / Generic / DAOUpdateAction.php
index b2768ee4d18f082524b4c7a5b6797b63526b8b55..5fe1cda2802cf6eb6cc18c4811c458fd71964748 100644 (file)
@@ -66,7 +66,7 @@ class DAOUpdateAction extends AbstractUpdateAction {
     }
 
     // Batch update 1 or more records based on WHERE clause
-    $items = $this->getObjects();
+    $items = $this->getBatchRecords();
     foreach ($items as &$item) {
       $item = $this->values + $item;
     }