Merge pull request #11836 from seamuslee001/dev_core_25
[civicrm-core.git] / Civi / API / Request.php
index 8e08ec810ebe44465340e6bd4c19c933e0b05d67..fbee414d842c51f6bd4a390a9a6bab0d1658cd1a 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017                                |
+ | Copyright CiviCRM LLC (c) 2004-2018                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -73,7 +73,7 @@ class Request {
         return $apiRequest;
 
       case 4:
-        $callable = array("Civi\\Api4\\Entity\\$entity", $action);
+        $callable = array("Civi\\Api4\\$entity", $action);
         if (!is_callable($callable)) {
           throw new Exception\NotImplementedException("API ($entity, $action) does not exist (join the API team and implement it!)");
         }