You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: percentagepricesetfield.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -719,7 +719,7 @@ function _percentagepricesetfield_rectify_price_options($field_values) {
719
719
)
720
720
);
721
721
}
722
-
catch (CiviCRM_API3_Exception$e) {
722
+
catch (CRM_Core_Exception$e) {
723
723
$error = $e->getMessage();
724
724
CRM_Core_Error::fatal(ts('Percentage Price Set Field: fatal error (on line %1) while rectifying price options: %2', array(1 => __LINE__, 2 => $error)));
725
725
}
@@ -733,7 +733,7 @@ function _percentagepricesetfield_rectify_price_options($field_values) {
733
733
)
734
734
);
735
735
}
736
-
catch (CiviCRM_API3_Exception$e) {
736
+
catch (CRM_Core_Exception$e) {
737
737
$error = $e->getMessage();
738
738
CRM_Core_Error::fatal(ts('Percentage Price Set Field: fatal error (on line %1) while rectifying price options: %2', array(1 => __LINE__ . "|{$value['id']}", 2 => $error)));
739
739
}
@@ -752,7 +752,7 @@ function _percentagepricesetfield_rectify_price_options($field_values) {
752
752
)
753
753
);
754
754
}
755
-
catch (CiviCRM_API3_Exception$e) {
755
+
catch (CRM_Core_Exception$e) {
756
756
$error = $e->getMessage();
757
757
CRM_Core_Error::fatal(ts('Percentage Price Set Field: fatal error (on line %1) while rectifying price options: %2', array(1 => __LINE__, 2 => $error)));
758
758
}
@@ -1083,7 +1083,7 @@ function _percentagepricesetfield_get_field_value($field_id) {
1083
1083
)
1084
1084
);
1085
1085
}
1086
-
catch (CiviCRM_API3_Exception$e) {
1086
+
catch (CRM_Core_Exception$e) {
1087
1087
CRM_Core_Error::debug_log_message('API Error in get PriceFieldValue: ' . $e->getMessage());
0 commit comments