Commit 7600727f authored by Per von Zweigbergk's avatar Per von Zweigbergk

(base) Fixed a mistyped Paamayim Nekudotayim

parent 95c39134
......@@ -123,7 +123,7 @@ abstract class ApiMutableModelControllerBase extends ApiControllerBase
foreach ($valMsgs as $field => $msg) {
// replace absolute path to attribute for relative one at uuid.
if ($node != null) {
$fieldnm = str_replace($node->__reference, static:$internalModelName, $msg->getField());
$fieldnm = str_replace($node->__reference, static::$internalModelName, $msg->getField());
$result["validations"][$fieldnm] = $msg->getMessage();
} else {
$result["validations"][$msg->getField()] = $msg->getMessage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment