From ef40f5d4fe7e1bcdc428b2a172f35a587631879d Mon Sep 17 00:00:00 2001 From: Russell Michell Date: Thu, 15 Feb 2018 11:20:46 +1300 Subject: [PATCH] FIX: Substituted legacy DataObject::db() for DataObject::getSchema() --- src/Actions/NotifyUsersWorkflowAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Actions/NotifyUsersWorkflowAction.php b/src/Actions/NotifyUsersWorkflowAction.php index dee2eb18..3da32582 100644 --- a/src/Actions/NotifyUsersWorkflowAction.php +++ b/src/Actions/NotifyUsersWorkflowAction.php @@ -164,7 +164,7 @@ public function getContextFields(DataObject $target) return $result; } - $fields = $target->db(); + $fields = $target->getSchema()->fieldSpecs($target); unset($fields['ID']); foreach ($fields as $field => $fieldDesc) {