Fix fatal error on pledge delete
authorJitendra Purohit <purohitjitend@gmail.com>
Sat, 21 Oct 2023 09:43:21 +0000 (15:13 +0530)
committerJitendra Purohit <purohitjitend@gmail.com>
Sun, 22 Oct 2023 14:28:11 +0000 (19:58 +0530)
CRM/Pledge/Form/Pledge.php

index 696bef9b7f525207ed9d0a7655405cfe2eac33f3..471faa805de5e2018514a860d3962a7eaa360f80 100644 (file)
@@ -43,7 +43,7 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form {
    * The Pledge values if an existing pledge.
    * @var array
    */
-  public $_values;
+  public $_values = [];
 
   /**
    * The Pledge frequency Units.