From 3d89b70abfb824e319bc622b33a7ae4d9d4044c6 Mon Sep 17 00:00:00 2001 From: mickadoo Date: Sat, 8 Jul 2017 01:00:11 +0100 Subject: [PATCH] CRM-20833: Change api4 entity namespace --- Civi/API/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/API/Request.php b/Civi/API/Request.php index d44f769a6b..c60ceade9e 100644 --- a/Civi/API/Request.php +++ b/Civi/API/Request.php @@ -73,7 +73,7 @@ class Request { return $apiRequest; case 4: - $callable = array("Civi\\Api4\\$entity", $action); + $callable = array("Civi\\API\\V4\\Entity\\$entity", $action); if (!is_callable($callable)) { throw new Exception\NotImplementedException("API ($entity, $action) does not exist (join the API team and implement it!)"); } -- 2.25.1