From ef76301b5e82b25f99714d2d82b47f08d50b92d5 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Mon, 7 Aug 2017 16:20:08 +0100 Subject: [PATCH] Don't use ts for exceptions --- api/v3/Case.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Case.php b/api/v3/Case.php index d923ebd2f6..5f9d4733bf 100644 --- a/api/v3/Case.php +++ b/api/v3/Case.php @@ -82,7 +82,7 @@ function civicrm_api3_case_create($params) { } if (array_key_exists('creator_id', $params)) { - throw new API_Exception(ts('You cannot update creator id')); + throw new API_Exception('You cannot update creator id'); } $mergedCaseId = $origContactIds = array(); -- 2.25.1