Merge branch 'MDL-71090' of git://github.com/paulholden/moodle
[moodle.git] / admin / tool / dataprivacy / classes / external.php
index 92dd398..30d2e6d 100644 (file)
@@ -212,7 +212,8 @@ class external extends external_api {
                 $warnings[] = [
                     'item' => $dpo->id,
                     'warningcode' => 'errorsendingtodpo',
-                    'message' => get_string('errorsendingmessagetodpo', 'tool_dataprivacy')
+                    'message' => get_string('errorsendingmessagetodpo', 'tool_dataprivacy',
+                        fullname($dpo))
                 ];
             }
         }