Merge pull request #18554 from civicrm/5.30
[civicrm-core.git] / Civi / Api4 / Generic / DAOUpdateAction.php
index 5fe1cda2802cf6eb6cc18c4811c458fd71964748..0d4bf17551157b82610da514c5eb62ecff4810d8 100644 (file)
@@ -14,8 +14,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
  */
 
 
@@ -42,6 +40,7 @@ class DAOUpdateAction extends AbstractUpdateAction {
    * @inheritDoc
    */
   public function _run(Result $result) {
+    $this->formatWriteValues($this->values);
     // Add ID from values to WHERE clause and check for mismatch
     if (!empty($this->values['id'])) {
       $wheres = array_column($this->where, NULL, 0);