Skip to content
Snippets Groups Projects
Commit 6a874f81 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #1940 from monishdeb/CRM-13711

CRM-13711 fix - Price-set validation break in noAmount and noLabel case for non Text type price field
parents d55e7206 831e0fa5
No related branches found
No related tags found
No related merge requests found
......@@ -564,7 +564,7 @@ class CRM_Price_Form_Field extends CRM_Core_Form {
}
$_showHide->addToTemplate();
if ($countemptyrows == 11) {
if ($countemptyrows == 15) {
$errors['option_label[1]'] = $errors['option_amount[1]'] = ts('Label and value cannot be empty.');
$_flagOption = 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment