From 4099961fd5696deb913b4561a28a2b8990ec85ed Mon Sep 17 00:00:00 2001 From: Jens Schuppe Date: Wed, 8 May 2024 15:45:21 +0200 Subject: [PATCH] Fix typo in APIv3 call to `OptionValue.getsingle` --- CRM/Civioffice/Form/LiveSnippet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Civioffice/Form/LiveSnippet.php b/CRM/Civioffice/Form/LiveSnippet.php index 375f0bc..40fdfc0 100644 --- a/CRM/Civioffice/Form/LiveSnippet.php +++ b/CRM/Civioffice/Form/LiveSnippet.php @@ -46,7 +46,7 @@ public function preProcess() } try { $this->option_value = civicrm_api3( - 'Optionvalue', + 'OptionValue', 'getsingle', [ 'id' => $option_value_id, @@ -170,4 +170,4 @@ public function postProcess() parent::postProcess(); } -} \ No newline at end of file +}