CoreApi: fix method call

This commit is contained in:
Thomas Gelf 2019-04-24 11:21:16 +02:00
parent da909907fd
commit 6bcb4a461e

View File

@ -315,7 +315,7 @@ class CoreApi implements DeploymentApiInterface
"f = function() {\n"
. ' existing = get_%s("%s")'
. "\n if (existing) { return false }"
. "\n%s\n}\n__run_with_activation_context(f)\n",
. "\n%s\n}\nInternal.run_with_activation_context(f)\n",
$key,
$object->get('object_name'),
(string) $object