Fix regression in 5.68 on premium
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 20 Nov 2023 23:07:27 +0000 (12:07 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 20 Nov 2023 23:12:32 +0000 (12:12 +1300)
CRM/Contribute/BAO/Premium.php

index f79715f40a2f66fd9a3756dd59b4c10237142165..d0314a12f5dc2727ed07fd6b95557dbe5eabb4bd 100644 (file)
@@ -112,9 +112,9 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium {
             }
           }
           else {
+            // Why? should we not skip if not found?
             CRM_Core_DAO::storeValues($productDAO, $products[$productDAO->id]);
           }
-          $products[$productDAO->id] += ['thumbnail' => '', 'image' => ''];
         }
         $options = $temp = [];
         $temp = explode(',', $productDAO->options);