Merge remote-tracking branch 'upstream/4.6' into 4.6-master-2015-09-05-17-42-45
[civicrm-core.git] / CRM / Core / Smarty / plugins / function.crmAPI.php
index 21d0a6c4ea02c9e3a985b2b33be1ff688e855bff..c259b15717f7ea5d953ceb6a4e7f5d0f96c11843 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
@@ -54,7 +54,7 @@ function smarty_function_crmAPI($params, &$smarty) {
   $result = civicrm_api($entity, $action, $params);
   unset($errorScope);
   if ($result === FALSE) {
-    $smarty->trigger_error("Unkown error");
+    $smarty->trigger_error("Unknown error");
     return;
   }