From a4c1913d29452e3829f7fb997fec14e2f42fecc6 Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Thu, 3 Apr 2014 11:12:39 +0530 Subject: [PATCH] CRM-14379 --- CRM/Price/Form/Option.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Price/Form/Option.php b/CRM/Price/Form/Option.php index f730ad972b..9343e1348b 100644 --- a/CRM/Price/Form/Option.php +++ b/CRM/Price/Form/Option.php @@ -82,6 +82,9 @@ class CRM_Price_Form_Option extends CRM_Core_Form { * @access public */ function setDefaultValues() { + if ($this->_action == CRM_Core_Action::DELETE) { + return; + } $defaults = array(); if (isset($this->_oid)) { -- 2.25.1