From 831e0fa5b0cd930de3af3de9fc72fc76e9706233 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Fri, 8 Nov 2013 18:48:50 +0530 Subject: [PATCH] CRM-13711 fix - Price-set validation break in noAmount and noLabel case for non Text type price field http://issues.civicrm.org/jira/browse/CRM-13711 --- CRM/Price/Form/Field.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Price/Form/Field.php b/CRM/Price/Form/Field.php index dd56548436..5f4d2eb8dd 100644 --- a/CRM/Price/Form/Field.php +++ b/CRM/Price/Form/Field.php @@ -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; } -- 2.25.1