CRM-14379
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Thu, 3 Apr 2014 05:42:39 +0000 (11:12 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Thu, 3 Apr 2014 05:42:39 +0000 (11:12 +0530)
CRM/Price/Form/Option.php

index f730ad972bd53996ab1362504b41b0b805adb96d..9343e1348bb1d7dfa34f94d64c0cce389c7d1118 100644 (file)
@@ -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)) {